Getting Started
Cyberstrike is an AI-powered penetration testing agent that automates security assessments. This guide covers installation, authentication, and running your first scan.
🎬 GIF: g01-first-run.gif
İlk çalıştırma ve kimlik doğrulama akışı (15s)
📸 SCREENSHOT: s01-installation.png
Terminal kurulum ekranı
System Requirements
Before installing Cyberstrike, verify your system meets these requirements:
| Requirement | Minimum | Recommended |
|---|---|---|
| Operating System | macOS 12+, Ubuntu 20.04+, Windows 10+ | macOS 14+, Ubuntu 22.04+ |
| RAM | 4 GB | 8 GB |
| Disk Space | 500 MB | 2 GB |
| Node.js | 18.0+ | 20.0+ |
| Bun | 1.0+ | 1.1+ |
Installing Cyberstrike
Choose your preferred installation method based on your operating system and package manager.
npm (Recommended)
- Open your terminal
- Run the installation command:
npm install -g cyberstrike- Verify the installation:
cyberstrike --versionBun
- Install Bun if not already installed:
curl -fsSL https://bun.sh/install | bash- Install Cyberstrike:
bun install -g cyberstrikeHomebrew (macOS)
- Add the Cyberstrike tap:
brew tap CyberStrikeus/tap- Install Cyberstrike:
brew install cyberstrikecurl (Linux/macOS)
Run the installation script:
curl -fsSL https://cyberstrike.io/install.sh | bashCaution
Review scripts before executing them. The installation script is available at github.com/CyberStrikeus/cyberstrike.io.
Docker
Pull and run the official Docker image:
docker pull cyberstrike/cyberstrike:latestdocker run -it cyberstrike/cyberstrikeAuthenticating with an AI Provider
Cyberstrike requires an AI provider to function. The following providers are supported:
| Provider | Free Tier | API Key Required |
|---|---|---|
| OpenRouter | Yes | Yes |
| Anthropic | No | Yes |
| OpenAI | No | Yes |
| Google Gemini | Yes | Yes |
| Ollama | Yes (Local) | No |
Setting Up Authentication
📸 SCREENSHOT: s02-auth.png
Auth login akışı
- Run the authentication command:
cyberstrike auth login- Select your provider from the list:
? Select provider❯ OpenRouter (free tier available) Anthropic (API key from console.anthropic.com) OpenAI (ChatGPT Plus/Pro or API key) Google (API key from ai.google.dev) Ollama (local models) OtherEnter your API key when prompted
Verify your credentials:
cyberstrike auth listUsing Environment Variables
Set API keys as environment variables instead of storing them:
# Anthropicexport ANTHROPIC_API_KEY="sk-ant-..."
# OpenAIexport OPENAI_API_KEY="sk-..."
# Googleexport GOOGLE_API_KEY="AI..."
# OpenRouterexport OPENROUTER_API_KEY="sk-or-..."Add these to your shell profile (~/.bashrc, ~/.zshrc) for persistence.
Running Your First Scan
Starting Interactive Mode
Launch Cyberstrike in your target directory:
cd /path/to/targetcyberstrikeThe terminal user interface (TUI) appears with:
- Input prompt at the bottom
- Response area in the center
- Status bar showing model and token usage
📸 SCREENSHOT: s03-tui-main.png
TUI ana arayüz görünümü
Executing a Quick Scan
Run a single command without entering interactive mode:
cyberstrike run "perform reconnaissance on example.com"Selecting a Security Agent
Cyberstrike includes specialized agents for different assessment types:
# Web application securitycyberstrike --agent web-application
# Cloud infrastructurecyberstrike --agent cloud-security
# Network penetration testingcyberstrike --agent internal-network
# Bug bounty reconnaissancecyberstrike --agent bug-hunterBasic Configuration
Create a project configuration file for consistent settings:
cyberstrike initThis creates cyberstrike.json in your current directory:
{ "$schema": "https://cyberstrike.io/schema.json", "provider": "anthropic", "model": "claude-sonnet-4-20250514", "agent": "web-application"}Configuration Hierarchy
Cyberstrike loads configuration from multiple sources in this order:
- Command line arguments (highest priority)
- Environment variables
- Project config (
cyberstrike.json) - User config (
~/.cyberstrike/config.json) - Default values (lowest priority)
Keyboard Shortcuts
Learn these shortcuts for efficient navigation:
| Shortcut | Action |
|---|---|
Enter | Submit message |
Ctrl+C | Cancel current operation |
Ctrl+D | Exit Cyberstrike |
Ctrl+L | Clear screen |
Tab | Autocomplete commands |
↑ / ↓ | Navigate history |
Next Steps
Continue learning with these guides:
- Configuration Reference - Customize Cyberstrike settings
- AI Providers - Configure your preferred AI provider
- Security Agents - Learn about specialized agents
- CLI Commands - Complete command reference
Tip
Join the community at discord.gg/cyberstrike for support and updates.