aislop and aislop-mcp commands. Pick the channel that fits your stack, or run without installing: 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
oxlint, Biome, knip, and expo-doctor ship as package dependencies. Package installation does not run dependency lifecycle scripts, so the core scanner works with npm’s secure install defaults. For bundled ruff and golangci-lint coverage, run the explicit tool installer once after installing aislop:aislop doctor.
Optional Java tools
With JDK 21 or newer onPATH, install pinned, checksum-verified google-java-format, PMD, and Checkstyle distributions:
aislop doctor to check availability.
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.
C# and C/C++ receive built-in text and complexity checks without these tools. On macOS, install the optional toolchains with:
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.
Optional Java and Scala security
With JDK 21+, install the optional JVM analyzers. Configure compiled artifacts or existing reports, then explicitly enable live checks withaislop scan --jvm-security. Scala remains in beta.