Skip to main content

Cyberstrike is now open source! AI-powered penetration testing for security professionals. Star on GitHub

Installation

Cyberstrike can be installed through multiple package managers. Choose the method that best fits your development environment.

📸 SCREENSHOT: installation-terminal.png

Terminal installation output

The recommended installation method for most users.

Terminal window
npm install -g cyberstrike

Verify the installation:

Terminal window
cyberstrike --version

Bun

For users preferring the Bun runtime:

Terminal window
# Install Bun if not already installed
curl -fsSL https://bun.sh/install | bash
# Install Cyberstrike
bun install -g cyberstrike

Homebrew (macOS)

For macOS users with Homebrew:

Terminal window
# Add the tap
brew tap cyberstrike-io/tap
# Install
brew install cyberstrike

curl (Linux/macOS)

Direct installation via shell script:

Terminal window
curl -fsSL https://cyberstrike.io/install.sh | bash

Caution

Always review installation scripts before executing them. The script source is available at github.com/CyberStrikeus/cyberstrike.io.

Docker

Run Cyberstrike in a containerized environment:

Terminal window
# Pull the image
docker pull cyberstrike/cyberstrike:latest
# Run interactively
docker run -it cyberstrike/cyberstrike
# Mount local directory
docker run -it -v $(pwd):/workspace cyberstrike/cyberstrike

Cargo (Rust)

For Rust developers:

Terminal window
cargo install cyberstrike

Verifying Installation

After installation, verify Cyberstrike is working:

Terminal window
# Check version
cyberstrike --version
# Run doctor to check system
cyberstrike doctor

Expected output:

cyberstrike 1.0.0
✓ Node.js 20.0.0
✓ Bun 1.1.0
✓ Git 2.40.0
✓ Configuration valid

Updating Cyberstrike

Update to the latest version:

Terminal window
# npm
npm update -g cyberstrike
# Bun
bun update -g cyberstrike
# Homebrew
brew upgrade cyberstrike
# Self-update
cyberstrike update

Uninstalling

Remove Cyberstrike from your system:

Terminal window
# npm
npm uninstall -g cyberstrike
# Bun
bun remove -g cyberstrike
# Homebrew
brew uninstall cyberstrike

Configuration files are stored in ~/.cyberstrike/ and can be removed manually if needed.

Troubleshooting

Command Not Found

If cyberstrike is not found after installation:

  1. Check your PATH includes npm global bin directory
  2. Restart your terminal
  3. Run npm bin -g to find the global bin path

Permission Errors

On Linux/macOS, if you encounter permission errors:

Terminal window
# Fix npm permissions
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

Version Conflicts

If you have multiple Node versions:

Terminal window
# Use nvm to manage versions
nvm use 20
npm install -g cyberstrike