Install Praxis CLI
Install the Praxis CLI on macOS, Linux or Windows, log in once to cover both praxis and raptor, and check the install from your terminal.
The Praxis CLI is two binaries. You install praxis, and your first praxis login installs raptor and signs in both.
| Binary | What it does |
|---|---|
praxis | Connects your AI assistant (Claude Code, Codex, Cursor, Gemini CLI or Google Antigravity) to your organization's Praxis cloud. Its tools run server-side, so you need no cloud, Kubernetes, or Terraform credentials on your laptop |
raptor | Runs the commands these docs show: creating resources, triggering releases, publishing modules |
Cursor reads the skills the Praxis CLI installs for Claude Code, Codex or Gemini CLI on the same machine. With Cursor alone, the Praxis CLI doesn't install skills yet.
Installing praxis
brew install --cask Facets-cloud/tap/praxiscurl -fsSL https://cross.facetsapp.cloud/cli/install.sh | sh -s -- praxisirm https://cross.facetsapp.cloud/cli/install.ps1 | iexThe script needs no sudo or admin rights. It installs into ~/.local/bin (on Windows, %USERPROFILE%\.local\bin), checks the download's SHA-256, and adds that folder to your PATH: your zsh or bash profile on macOS and Linux (for other shells it prints the line to add), your user PATH on Windows. On macOS and Linux, open a new terminal afterwards. On Windows the current window can use it at once; other open windows need a restart. FACETS_INSTALL_DIR picks another folder, and FACETS_NO_MODIFY_PATH=1 leaves your PATH alone.
Keep one install method: the script lists any other praxis on your PATH, such as a Homebrew copy, and says which one runs first. Claude Code on Windows also needs Git for Windows.
praxis login installs raptor into ~/.local/bin, never over a raptor you already have. To install raptor alone, use -- raptor instead of -- praxis (on Windows, run $env:FACETS_CLI = 'raptor' first), then raptor login.
Logging in
praxis login --url https://<account-id>.console.facets.cloudThe URL is your control plane's address; ask your admin if you don't know it. Later logins reuse it. Without --url, a bare login uses raptor's control plane or asks.
Login uses the first of these that works:
- This profile's saved token, if it still works.
- Raptor's token, with nothing to click.
- A new personal access token: click Generate Token on the Personal Access Tokens page login opens in your browser, and the page hands the token to the CLI. Login waits 90 seconds (
--timeout), or prints the URL when there's no browser.
Login never creates a Praxis API key. It then installs raptor if needed and the skills for your AI assistant. --dry-run reports what login would do without changing anything, and --force skips the saved token. If you only want raptor, raptor login on its own is enough.
Checking the install
praxis status
raptor whoamipraxis status shows your profile, control plane, raptor, whether you're logged in, and your skills. praxis status --json also compares your version with the latest. It also flags a raptor that isn't on your PATH, common with Homebrew installs because raptor goes to ~/.local/bin. If raptor whoami comes back unauthenticated, run raptor login.
Non-interactive contexts
In CI and other places without a browser, set these variables. They sign in both praxis and raptor with no login step and take priority over saved profiles (only --profile beats them). Create the token on the Personal Access Tokens page (<your-control-plane-url>/v2/home#personal-access-tokens).
export CONTROL_PLANE_URL=<your-control-plane-url>
export FACETS_USERNAME=<your-username>
export FACETS_TOKEN=<your-personal-access-token>To sign in praxis only, use a Praxis API key:
praxis login --token <your-api-key> --url <your-control-plane-url>Running Praxis from CI or cron covers which to pick.
Working with more than one control plane
Each control plane gets its own profile. A bare praxis login uses the default profile.
praxis login --profile acme --url https://acme.console.facets.cloud
# List profiles. The active one is marked *
praxis profilesA login with --profile for a profile that isn't the machine default only saves credentials. To use a profile:
| Scope | Command |
|---|---|
| One command | praxis -p acme <command> |
| This shell, both CLIs | export FACETS_PROFILE=acme (PRAXIS_PROFILE also works) |
| This folder, both CLIs | praxis profiles pin acme, or praxis login --profile acme --local |
| The whole machine | praxis profiles set-default acme (also re-syncs organization skills) |
Organization skills follow the machine default. For another organization's skills in one repository, pin that folder and run praxis refresh-skills there. A bare praxis login --url for another control plane asks which profile to use.
Updates
praxis checks daily and updates itself in the background, through brew for a Homebrew install. The first command on the new version installs or upgrades raptor and refreshes both skills. One notice tells you it updated. raptor checks hourly and updates itself the same way, never through brew, then refreshes its skill.
praxis update (or praxis upgrade) updates now: praxis and its skill, then always raptor upgrade.
Automatic updates switch off in CI, in containers, as root, when you can't write to the binary's folder, or when a Homebrew install can't find brew; the CLI then tells you to run praxis update. To switch them off yourself, set PRAXIS_NO_AUTO_UPGRADE=1 and RAPTOR_NO_AUTO_UPGRADE=1.
The update check sends your version and setup details to Facets. PRAXIS_NO_UPDATE_CHECK=1 and RAPTOR_NO_UPDATE_CHECK=1 stop it entirely.
Next steps
Deploy with an AI agent
Describe the outcome and let your agent drive the CLI.
How the Praxis CLI works
What praxis and raptor each do, and how to run them from CI.
Command reference
Every raptor command, verb, and resource type.
Integrating with CI pipelines
Register builds and trigger releases from your pipeline.