Installation
Choose the installation method that works best for your workflow.
npx (No Install Required)
The fastest way to get started. Requires only Node.js 18+:
This downloads the Inkog binary on first run and caches it at ~/.inkog/bin/ for future use. No global install needed.
To use a pre-installed binary (e.g., in corporate environments), set INKOG_BINARY_PATH=/path/to/inkog before running.
Install Script (Recommended)
One-line installer for permanent installation. Works on macOS, Linux, and Windows (WSL).
This script will:
- Download a pre-built binary for your platform (fastest)
- Fall back to
go installif binaries aren’t available - Add
inkogto your PATH
Pre-built binaries are available for macOS (Intel & Apple Silicon), Linux (x86_64 & ARM64), and Windows.
Binary Download
Download pre-built binaries directly from GitHub Releases :
| Platform | Architecture | Binary |
|---|---|---|
| macOS | Apple Silicon (M1/M2/M3) | inkog-darwin-arm64 |
| macOS | Intel | inkog-darwin-amd64 |
| Linux | x86_64 | inkog-linux-amd64 |
| Linux | ARM64 | inkog-linux-arm64 |
| Windows | x86_64 | inkog-windows-amd64.exe |
# Example: Download and install on macOS Apple Silicon
curl -LO https://github.com/inkog-io/inkog/releases/latest/download/inkog-darwin-arm64
chmod +x inkog-darwin-arm64
sudo mv inkog-darwin-arm64 /usr/local/bin/inkogGo Install
Requires Go 1.21 or later.
If you get a “module not found” error, use:
GOPROXY=direct go install github.com/inkog-io/inkog/cmd/inkog@latestEnsure $GOPATH/bin is in your PATH.
Homebrew (macOS/Linux)
brew tap inkog-io/inkog
brew install inkogVerify Installation
Build from Source
# Clone repository
git clone https://github.com/inkog-io/inkog.git
cd inkog
# Build
go build -o inkog ./cmd/inkog
# Install to PATH
sudo mv inkog /usr/local/bin/GitHub Action
Add Inkog to your CI pipeline:
name: Security Scan
on: [push, pull_request]
jobs:
inkog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Inkog Scanner
uses: inkog-io/inkog-action@v1
with:
severity: critical,high
format: sarif
output: results.sarif
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarifPre-commit Hook
repos:
- repo: https://github.com/inkog-io/inkog
rev: v1.0.0
hooks:
- id: inkog
args: ['--severity', 'critical,high', '--fail-on-findings']API Key Setup (Cloud Scanning)
To use Inkog with cloud features (scan history, dashboard analytics, team collaboration):
- Create a free account at app.inkog.io
- Navigate to Dashboard → API Keys
- Click Generate New Key and copy your API key
- Configure the CLI:
# Set your API key
export INKOG_API_KEY=your-api-key-here
# Or add to your shell profile
echo 'export INKOG_API_KEY=your-api-key-here' >> ~/.bashrcAn API key is required for all scans. Get your free key at app.inkog.io .
Verify Your Installation
Next Steps
Configuration
Learn how to customize Inkog with config files, rule exclusions, and more.