The login command authenticates you with the Crossmint platform. It allows you to access your account and manage API keys and projects through the CLI.

To use it, run the following command from your terminal

crossmint login

Example

Start the login process:

crossmint login

Select an environment:

? Select environment: (Use arrow keys)
> Production
  Staging

The CLI will open a browser window to authorize your device. If you’re not signed in to Crossmint in the browser, you’ll need to login first. Once the device is authorized, you can close the browser and return to the terminal.

✅ Login successful! You are now authenticated in the Production environment.

You’ll then be prompted to select a project:

? Select a project: (Use arrow keys)
> My Project
  Website Integration
  Mobile App