Command line interface for Kusari.
-
Have Go installed.
-
go install github.com/kusaridev/kusari-cli/v2/kusari@latest
Alternatively, you can install pre-built binaries for supported platforms from the GitHub releases page.
For detailed information, see the Kusari Documentation.
When enabled in a CI/CD environment, Kusari Inspector via the repo scan command will:
- Post a summary comment with security findings
- Post inline comments on specific lines of code where issues are detected
- Update existing comments instead of creating duplicates on subsequent runs
CI/CD Setup Instructions:
For complete setup instructions, templates, and reusable workflows for both GitLab and GitHub, see the Kusari CI Templates repository.
Build the binary locally
go build -o kusari/kusari ./kusari # kusari/kusari is gitignoredRun the local binary as ./kusari/kusari from this directory.
./kusari/kusari --help
# Log in with the local binary:
./kusari/kusari auth login
``