Skip to main content

System requirements

  • Node.js 18 or later (for npm/pnpm installs)
  • Operating system: macOS, Linux, or Windows
  • An API key for at least one supported LLM provider, or a locally running Ollama or LM Studio instance for offline use

CLI installation

Install the cyberstrike CLI globally using your preferred package manager or install script.
npm i -g @cyberstrike-io/cyberstrike@latest
npm is recommended if you already have Node.js installed. Homebrew is the most convenient option on macOS. The curl one-liner works on any Linux or macOS system without requiring Node.js.

Desktop app installation

CyberStrike also ships as a native desktop application built with Tauri, providing a windowed UI alternative to the terminal TUI.
brew install --cask cyberstrike-desktop
You can also download the desktop app directly from the GitHub releases page. Pre-built binaries are available for macOS (Apple Silicon and Intel), Windows (x64), and Linux (x64 and arm64).

Verifying your installation

After installation, confirm the CLI is available and check the installed version:
cyberstrike --version
You should see output like:
1.1.5
If the command is not found, ensure your global npm/bun/pnpm bin directory is on your PATH. For npm, run npm bin -g to find the location.

Upgrading

CyberStrike ships with a built-in upgrade command that fetches and installs the latest release:
cyberstrike upgrade
To install a specific version, pass it as a positional argument:
cyberstrike upgrade 1.1.5
To force a specific installation method (useful if auto-detection picks the wrong one):
cyberstrike upgrade --method npm   # choices: curl, npm, pnpm, bun, brew, choco, scoop
cyberstrike update is an alias for cyberstrike upgrade. To upgrade manually using your package manager, re-run the original install command with the @latest tag:
npm i -g @cyberstrike-io/cyberstrike@latest

Uninstalling

To remove CyberStrike from your system:
npm uninstall -g @cyberstrike-io/cyberstrike
CyberStrike stores its configuration and session data in your XDG config directory (typically ~/.config/cyberstrike on Linux/macOS). To fully remove all data:
rm -rf ~/.config/cyberstrike
Removing ~/.config/cyberstrike permanently deletes your saved provider configuration, session history, and any custom settings. This action cannot be undone.

Offline installation

To run CyberStrike in an air-gapped or offline environment, install Ollama or LM Studio on the same machine and pull a local model. On first launch, select Ollama or LM Studio as your provider. No data leaves your machine.
# Install Ollama and pull a model
ollama pull llama3.1

# Launch CyberStrike and select Ollama as your provider
cyberstrike
For best offline performance, use a model with at least 8B parameters. Larger models (32B+) produce significantly better security reasoning but require more RAM and a capable GPU.

Build docs developers (and LLMs) love