Install

Install ct with one command on macOS, Linux, or Windows. The web app needs no install.

Install ct

macOS and Linux
curl -fsSL https://circuittwin.ai/install.sh | sh
ct --version

Verifies the archive SHA-256 and installs ct to ~/.local/bin. If missing from PATH, the script prints the export line to add. On macOS, use this curl command so Gatekeeper does not quarantine the binary.

Windows (PowerShell)
irm https://circuittwin.ai/install.ps1 | iex
ct --version

Verifies the archive SHA-256, installs ct.exe to %LOCALAPPDATA%\Programs\CircuitTwin, and adds it to your user PATH. Open a new terminal if ct is not found immediately.

Physical-board commands (ct hw) ship in both the Windows and Linux builds.

Sign in

Create a token in Settings, Access tokens (Access tokens), then sign in:

terminal
ct login --server https://app.circuittwin.ai   # paste the token when asked
ct login --status                    # checks the stored sign-in

Tokens are verified against the server before saving. Run ct login --logout to clear them.

CI and scripts

shell
export CT_SERVER=https://app.circuittwin.ai
export CT_TOKEN="$CIRCUITTWIN_TOKEN"   # from a masked CI secret

CT_TOKEN is sent only to CT_SERVER. See Test in CI for GitHub Actions and GitLab CI/CD.

Next

Follow the Quickstart.