Installation

Learn how to install the Croct CLI.

The Croct CLI helps you manage your projects from the terminal. You can use it to configure your project, manage slots and components, handle authentication, and more.

Install the CLI

Run the following command to install the CLI globally:

Command to install the CLI
npm install -g croct

Run without installing

If you prefer not to install the CLI globally, you can run commands directly using the executable from the npm registry:

npx croct

This downloads and runs the latest version of the CLI without adding it to your system.

Check the installation

After installing, verify that the CLI is available by running:

npx croct@latest --version

If the installation was successful, this command prints the installed version number.