CLI

Install the CLI

Install the slate command on macOS or Linux. No Go toolchain or GitHub access is required—the installer downloads a release binary from Slate Security.

Requirements

Supported platforms:

  • macOS on Apple Silicon (arm64) or Intel (amd64)
  • Linux on arm64 or amd64

You need curl and tar. The script installs a single binary and prints PATH instructions if needed.

Quick install

Run the install script:

curl -fsSL https://slatesecurity.ai/install.sh | bash

The script detects your OS and architecture, downloads the matching release from https://slatesecurity.ai/install.sh, and installs to /usr/local/bin when writable (may prompt for sudo).

Install script options

Set these environment variables when you run the install script (see examples below).

VariableDefaultPurpose
SLATE_INSTALL_DIR/usr/local/binWhere to place the binary
SLATE_VERSIONlatestRelease tag, e.g. v0.1.0
SLATE_DOWNLOAD_BASE…/api/cliDownload API base URL (advanced)

Install without sudo

Install into your user bin directory:

SLATE_INSTALL_DIR="$HOME/.local/bin" curl -fsSL https://slatesecurity.ai/install.sh | bash

Ensure ~/.local/bin is on your PATH, for example:

export PATH="$HOME/.local/bin:$PATH"

Pin a version

By default the installer uses the latest release. To install a specific version:

SLATE_VERSION=v0.1.0 curl -fsSL https://slatesecurity.ai/install.sh | bash

Troubleshooting

  • command not found: slate — Add the install directory to your PATH (the script prints the exact line).
  • No API key configured — See Configure & run.

More help: Troubleshooting.