Browse documentation
← CLI reference

Command

cscale init

Sign in, install local integration, add a policy if needed and start a background check

CLI 0.2.11

cscale init [OPTIONS]

Examples

Sign in, install local integration, add a policy if needed and start a background check.

cscale init

Preview the integration and starter policy for Codex.

cscale init --for codex --dry-run

Request sign-in while installing for Claude Code.

cscale init --for claude-code --sign-in

Open the sign-in link sent by email and type the terminal's code.

cscale init --sign-in --email you@example.com --no-browser

Install and propose an agent public key without starting a check.

cscale init --skip-check --person john --agent-key-file agent.pub

Bind this repository's checks to the acme workspace.

cscale init --workspace acme

Preview the CI files for GitLab.

cscale init --ci --ci-host gitlab --dry-run

Choose a published Linux release when running a development build.

cscale init --ci --cli-version 0.2.1 --cli-checksum 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef --cli-arm64-checksum abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789 --cli-url https://assets.example.test/cscale-x86_64 --cli-arm64-url https://assets.example.test/cscale-aarch64

Options

--agent-key-file <AGENT_KEYS>

Additional base64 Ed25519 agent public key files to register for this person

--ci

Write an editable CI job with the release filled in; then add the CSCALE_CHECK_KEY secret

Default: false

--ci-host <CI_HOST>

Override CI detection from existing files and the origin remote

Possible values: actions, gitlab, bitbucket, circleci, azure, jenkins, buildkite, commitscale, other.

--cli-arm64-checksum <CLI_ARM64_CHECKSUM>

SHA-256 of the selected release's Linux aarch64 binary

--cli-arm64-url <CLI_ARM64_URL>

HTTPS download URL for the selected Linux aarch64 binary

--cli-checksum <CLI_CHECKSUM>

SHA-256 of that release's Linux x86_64 binary

--cli-url <CLI_URL>

HTTPS download URL for the selected Linux x86_64 binary

--cli-version <CLI_VERSION>

Release version for both Linux architectures; defaults to this CLI's published version

--dry-run

Show the planned files without sign-in, installing or running a check

Default: false

--email <EMAIL>

Send a sign-in link to this address; open it and type the terminal's code

--for <HARNESS>

Install for this harness; otherwise detect .claude and .codex

Possible values: claude-code, codex.

--help

Print help (see a summary with '-h')

--json

Print JSON, for agents and scripts

Default: false

--no-browser

Never open a browser: print the page to open instead. Pages that confirm with your passkey, auth login, and web open one

Default: false

Environment: CSCALE_NO_BROWSER

--person <PERSON>

Person whose agents' public keys are proposed for target-branch trust

--server <SERVER>

The Commitscale server, such as https://commitscale.com

Environment: CSCALE_SERVER

--sign-in

Sign in before installation, including in unattended harness setup; checks need an account

Default: false

--skip-check

Install integrations without starting a background local check

Default: false

--workspace <WORKSPACE>

Bind this repository to a personal or organization workspace