New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@arcjet/cli

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/cli

Arcjet CLI — manage Arcjet from the terminal

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
10
Maintainers
2
Weekly downloads
 
Created
Source

Arcjet CLI

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

Run with npx — no install required, works on macOS, Linux, and Windows:

npx -y @arcjet/cli@latest --help

Or install globally via npm for a shorter invocation and shell completions:

npm --global install @arcjet/cli

Or install via Homebrew (macOS and Linux):

brew install arcjet/tap/arcjet

Or use the install script (macOS and Linux):

curl -sSfL https://arcjet.com/cli/install.sh | bash

Pin the install script to a specific version:

curl -sSfL https://arcjet.com/cli/install.sh | ARCJET_CLI_VERSION=v1.0.0 bash

For internal redistribution or air-gapped environments, download the release archive for your platform from GitHub Releases, extract it, and place the arcjet binary on your PATH.

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.

To export the currently authenticated token into a shell session, evaluate the output of arcjet auth token:

# bash / zsh
eval "$(arcjet auth token)"

# fish
arcjet auth token --shell fish | source

# PowerShell
arcjet auth token --shell powershell | Invoke-Expression

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

Arcjet's agent-facing skills live in arcjet/skills and are installed into your coding agent (Claude Code, Cursor, VS Code Copilot, etc.) via the agentskills.io tooling rather than this binary:

npx skills add arcjet/skills

Get help

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

FAQs

Package last updated on 11 May 2026

Related posts