Skip to main content

Installation

CLI​

Secure Spec is installed through the Dam Secure CLI. One command authenticates your machine, detects supported coding agents, and configures each one it finds.

Compatibility​

  • Claude Code
  • Cursor
  • GitHub Copilot CLI

Prerequisites​

  • macOS or Linux (x86_64 or arm64)
  • A Dam Secure workspace invitation accepted using the invited email address. Visit Get Started if your team does not have a workspace yet.
  • Claude Code, Cursor, or GitHub Copilot CLI installed on your machine

Install the CLI​

Run the installer in your terminal:

curl -fsSL https://app.damsecure.ai/resources/cli/install.sh | bash

The installer downloads the latest CLI, triggers the OAuth flow with Dam Secure, and configures every supported editor it finds. You're ready as soon as it finishes.

If the installer reports that ~/.local/bin isn't on your PATH, add it to your shell profile and restart your terminal before continuing.

Manual install​

If you prefer not to pipe curl to bash, you can download and install the CLI manually.

1. Download the binary​

Go to the latest CLI release and download the archive for your platform:

PlatformArchive
macOS (Apple Silicon)damsecure_<version>_darwin_arm64.tar.gz
macOS (Intel)damsecure_<version>_darwin_amd64.tar.gz
Linux (x86_64)damsecure_<version>_linux_amd64.tar.gz
Linux (arm64)damsecure_<version>_linux_arm64.tar.gz

Also download checksums.txt from the same release.

2. Verify the checksum​

sha256sum -c checksums.txt --ignore-missing

On macOS, use shasum -a 256 if sha256sum isn't available:

shasum -a 256 -c checksums.txt --ignore-missing

3. Extract and install​

tar -xzf damsecure_*.tar.gz
mkdir -p ~/.damsecure/bin ~/.local/bin
mv damsecure ~/.damsecure/bin/
ln -sf ~/.damsecure/bin/damsecure ~/.local/bin/damsecure

Make sure ~/.local/bin is on your PATH (see Troubleshooting below if the command isn't found).

4. Authenticate and configure​

damsecure setup

This opens the sign-in flow and configures every supported coding agent it finds—the same step the automated installer runs.

Re-run setup​

You can re-run setup at any time — for example, after installing a new editor:

damsecure setup

To set up a specific editor only:

damsecure setup cursor
damsecure setup claude
damsecure setup copilot

Verify it's working​

Open your coding agent and start a task that uses planning. When the plan is ready, the agent should ask whether you want a security review. The Overview explains what happens next.

Updates​

The CLI keeps itself current automatically — updates run quietly in the background when you start a session in your editor, so you're always on the latest version. To force an update immediately:

damsecure update

Troubleshooting​

Command not found after install — Ensure ~/.local/bin is on your PATH. Add export PATH="$HOME/.local/bin:$PATH" to your shell profile (.bashrc, .zshrc, etc.) and restart your terminal.

Authentication issues — Re-run damsecure setup <editor> to re-authenticate.

Need help? — Contact us.