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
npm (Recommended)
The recommended installation method for most users.
npm install -g cyberstrikeVerify the installation:
cyberstrike --versionBun
For users preferring the Bun runtime:
# Install Bun if not already installedcurl -fsSL https://bun.sh/install | bash
# Install Cyberstrikebun install -g cyberstrikeHomebrew (macOS)
For macOS users with Homebrew:
# Add the tapbrew tap cyberstrike-io/tap
# Installbrew install cyberstrikecurl (Linux/macOS)
Direct installation via shell script:
curl -fsSL https://cyberstrike.io/install.sh | bashCaution
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:
# Pull the imagedocker pull cyberstrike/cyberstrike:latest
# Run interactivelydocker run -it cyberstrike/cyberstrike
# Mount local directorydocker run -it -v $(pwd):/workspace cyberstrike/cyberstrikeCargo (Rust)
For Rust developers:
cargo install cyberstrikeVerifying Installation
After installation, verify Cyberstrike is working:
# Check versioncyberstrike --version
# Run doctor to check systemcyberstrike doctorExpected output:
cyberstrike 1.0.0✓ Node.js 20.0.0✓ Bun 1.1.0✓ Git 2.40.0✓ Configuration validUpdating Cyberstrike
Update to the latest version:
# npmnpm update -g cyberstrike
# Bunbun update -g cyberstrike
# Homebrewbrew upgrade cyberstrike
# Self-updatecyberstrike updateUninstalling
Remove Cyberstrike from your system:
# npmnpm uninstall -g cyberstrike
# Bunbun remove -g cyberstrike
# Homebrewbrew uninstall cyberstrikeConfiguration files are stored in ~/.cyberstrike/ and can be removed manually if needed.
Troubleshooting
Command Not Found
If cyberstrike is not found after installation:
- Check your PATH includes npm global bin directory
- Restart your terminal
- Run
npm bin -gto find the global bin path
Permission Errors
On Linux/macOS, if you encounter permission errors:
# Fix npm permissionsmkdir ~/.npm-globalnpm config set prefix '~/.npm-global'echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrcsource ~/.bashrcVersion Conflicts
If you have multiple Node versions:
# Use nvm to manage versionsnvm use 20npm install -g cyberstrike