Documentation Index
Fetch the complete documentation index at: https://zeropath.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Installation Methods
macOS Intel
macOS ARM (M1/M2)
Linux x64
Windows x64
wget https://github.com/ZeroPathAI/zeropath-cli/releases/latest/download/zeropath-macos -O zeropath
chmod +x zeropath
sudo mv zeropath /usr/local/bin/
wget https://github.com/ZeroPathAI/zeropath-cli/releases/latest/download/zeropath-macos-arm64 -O zeropath
chmod +x zeropath
sudo mv zeropath /usr/local/bin/
wget https://github.com/ZeroPathAI/zeropath-cli/releases/latest/download/zeropath-linux -O zeropath
chmod +x zeropath
sudo mv zeropath /usr/local/bin/
Invoke-WebRequest -Uri https://github.com/ZeroPathAI/zeropath-cli/releases/latest/download/zeropath-windows.exe -OutFile zeropath.exe
move zeropath.exe "C:\Windows\System32\"
Download Latest Release
Get the latest release directly from GitHub
Verify Installation
After installation, verify the CLI is working:
# Check if installed correctly
zeropath --version
# View available commands
zeropath --help
Authentication
Connect the CLI to your ZeroPath account using API credentials:
# Authenticate with your Client ID and Client Secret
zeropath auth <clientId> <clientSecret>
Getting API Credentials
- Sign in to ZeroPath Dashboard
- Navigate to API Settings or Account Settings
- Generate new API credentials (Client ID and Client Secret)
- Save these credentials securely
First Scan
Once authenticated, you can start scanning:
# Scan current directory and save results
zeropath scan . output.sarif
# Scan a specific directory
zeropath scan /path/to/your/project results.sarif
Common Usage Patterns
Local Development
# Quick scan of current project
zeropath scan . results.sarif
# Scan specific directory
zeropath scan ./src output.sarif
CI/CD Integration
# Repository scanning by ID (exits 1 if issues found)
zeropath scan --repository-id <repositoryId>
# Repository scanning by URL
zeropath scan --repository-url https://github.com/owner/repo --vcs github
Next Steps