aislop and aislop-mcp commands. Pick the channel that fits your stack — or run without installing at all using npx aislop@latest scan.
Requirements
aislop requires Node.js 20 or later. You can check your version withnode --version. The Homebrew install pulls Node as a dependency automatically; the pipx install requires Node to already be on your PATH.
npm, Yarn, pnpm, and Bun
Install aislop as a project dev dependency or as a global binary, depending on how you plan to use it.Homebrew
Install aislop on macOS or Linux via the official tap:pipx (Python environments)
For Python-centric projects or environments where pipx is your standard tool installer:pipx keeps aislop in an isolated virtual environment so it never conflicts with your Python dependencies. Plain pip install --user aislop also works. Both options still require Node.js on your PATH because aislop’s analysis engines run on Node.
Upgrade with:
GitHub Packages
aislop is also published as@scanaislop/aislop on GitHub Packages. Use this channel when your organisation’s security policy requires packages to be sourced from GitHub’s registry:
Bundled tooling
aislop ships the following tools as package dependencies or bundled binaries — you do not need to install them separately:| Tool | Purpose | Languages |
|---|---|---|
| oxlint | Linting | TypeScript, JavaScript |
| Biome | Formatting + linting | TypeScript, JavaScript |
| knip | Dead code + unused deps | TypeScript, JavaScript |
| ruff | Linting + formatting | Python |
| golangci-lint | Linting | Go |
| expo-doctor | Framework checks | Expo / React Native |
ruff and golangci-lint are downloaded as binaries during npm install (or equivalent). To skip binary downloads — for example in air-gapped environments or when you want to manage these tools yourself — set the environment variable before installing:
External tools
Some engines depend on tools that must already be installed on your machine. These are not bundled because they require language toolchains to be present anyway.| Tool | Required for | Install guide |
|---|---|---|
gofmt | Go formatting | Ships with the Go toolchain |
govulncheck | Go dependency audit | go install golang.org/x/vuln/cmd/govulncheck@latest |
cargo + clippy | Rust linting + formatting | rustup.rs |
rubocop | Ruby formatting + linting | gem install rubocop |
phpcs + php-cs-fixer | PHP formatting + linting | php-cs-fixer docs |
Verify your installation
After installing, confirm everything is working:aislop doctor reports on each engine’s availability, flags any missing external tools, and shows the language coverage for the current directory.
Show your score badge
Once you have a score, display it in your README:Next steps
Quickstart
Run your first scan, read your score, and add a CI gate in four steps.
Configuration
Tune score thresholds, override rule severity, and manage project-wide ignores.