Open Studio
CLI

Login

Authenticate your Snipplle CLI using an API key to access your snippets and workspaces.

What Is Login?

The login command allows the CLI to connect to your Snipplle account. It uses an API key for authentication, granting access to your workspaces and snippets according to your permissions.

Without logging in, the CLI cannot pull snippets into your local projects.


Generating an API Key

Before logging in:

Keep your API key private. Anyone with access to it can access your snippets.

Logging In

Use the following command in your terminal:

snipplle login <api-key>

After successful authentication, your credentials will be stored locally, allowing the CLI to access your workspaces and snippets.