Skip to main content

Installation

CLI

Secure Spec is installed via the Dam Secure CLI. One command authenticates your machine, configures your editor, and keeps itself up to date. A single install configures Secure Spec for both Claude Code and Cursor. The CLI detects whichever editors are on your machine and sets them up.

Compatibility

  • Secure Spec works with Claude Code and Cursor.
  • It also works with Claude Code in VS Code.

Prerequisites

  • macOS or Linux (x86_64 or arm64)
  • A Dam Secure account with at least one repository connected
  • Claude Code, Cursor, or both — 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.

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

Verify it's working

Open your editor, start a new task, and check that Secure Spec surfaces guidance when a plan touches files covered by your rules. The Overview explains what to expect.

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.