Get started in three steps
Install the CLI
Install the Rafter security CLI using your preferred package manager.Verify the install worked:
Python 3.10+ required for pip installs. Verify your version:On Ubuntu/Debian, Python and pip may not be installed by default:On Fedora/RHEL:
sudo dnf install python3 python3-pip.
macOS: brew install python. Windows: install from python.org — pip is included.Get your API key
Sign up and grab your API key from your account page.
What’s happening?
When you runrafter run, the CLI will:
- Auto-detect your repository and branch from Git
- Upload your code securely to Rafter’s scanning engine from Github
- Scan for vulnerabilities, secrets, and security issues
- Delete your code from Rafter’s scanning engine
- Display results directly in your terminal
The CLI only scans remote repositories, not your current local branch. Make sure your changes are pushed to the remote repository before scanning.

