Skip to content

arcjet/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Arcjet Logo

Arcjet CLI

GitHub release badge

Arcjet is the runtime security platform that ships with your code. The Arcjet CLI gives you terminal access to the Arcjet security platform — manage your sites, inspect traffic, and configure security rules directly from the command line or through AI coding agents.

See the Arcjet docs for the full platform documentation.

Installation

Homebrew (macOS and Linux)

brew install arcjet/tap/arcjet

Download a release

Download the latest binary for your platform from Releases. Extract the archive and place the arcjet binary somewhere on your PATH.

Available for macOS (Apple Silicon, Intel), Linux (x86_64, arm64), and Windows (x86_64, arm64).

Verify

arcjet version

Authentication

Log in via your browser:

arcjet auth login

This opens a URL and displays a one-time code. Confirm the code in your browser to complete login.

Check your authentication status:

arcjet auth status

Log out:

arcjet auth logout

For non-interactive use (CI, scripts, agents), set the ARCJET_TOKEN environment variable instead of logging in interactively.

Usage

# List your teams
arcjet teams list

# List sites for a team
arcjet sites list --team-id team_01abc123

# Get the SDK key for a site
arcjet sites get-key --site-id site_01abc123

# Get a security briefing
arcjet briefing --site-id site_01abc123

# Watch live requests
arcjet watch --site-id site_01abc123

Use --output json for machine-readable output. When stdout is not a TTY, JSON is the default. Use --fields to limit output to specific keys.

Run arcjet --help to see all available commands, or arcjet <command> --help for details on a specific command.

Shell completions

Generate completion scripts for your shell:

# bash (current session)
source <(arcjet completion bash)
# bash (persist)
arcjet completion bash > /etc/bash_completion.d/arcjet

# zsh
arcjet completion zsh > "${fpath[1]}/_arcjet"

# fish (current session)
arcjet completion fish | source
# fish (persist)
arcjet completion fish > ~/.config/fish/completions/arcjet.fish

Agent skills

The arcjet skills command provides built-in documentation optimized for AI coding agents. Skills are shipped with the binary and always match the current CLI version.

List available topics:

arcjet skills

Show a detailed guide for a specific topic:

arcjet skills auth
arcjet skills rules
arcjet skills analyze

Install the ARCJET.md skills file into your project so agents can discover Arcjet capabilities automatically:

arcjet skills install

Run guided project setup to install the SDK and configure your application:

arcjet skills initialize

Get help

Need help with anything? Email us or join our Discord to get support from our engineering team.

Support

This repository follows the Arcjet Support Policy.

Security

This repository follows the Arcjet Security Policy.

About

The Arcjet CLI gives you terminal access to the Arcjet security platform.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors