Skip to main content

CLI Authentication

Appcircle CLI

Appcircle CLI is a unified command-line tool that provides access to Appcircle platform features, enabling you to manage your projects, builds, and more directly from your terminal.

You can install the Appcircle CLI from npm:

npm install -g @appcircle/cli

or yarn:

yarn global add @appcircle/cli

Preview of @appcircle/cli

You can find more information and the open source code of the CLI on GitHub as follows:

Preview of GitHub - appcircleio/appcircle-cli

Using the Personal API Token for CLI Authentication

For authentication, you need to generate a session token from the Appcircle CLI using the Personal API Token and add the generated session token value as an environment variable.

tip

For generating Personal API Token, please refer to API Authentication.

Using the Appcircle CLI, create a full access API token using the following command with the Personal API Token specified as "pat":

appcircle login ${pat}

Then copy the result and set it as the AC_ACCESS_TOKEN environment variable.