Installation
Install the CLI and system requirements.
System requirements
- Runtime: Bun v1.0 or later
- OS: macOS or Linux
- Optional: Docker (for the web dashboard database)
Install the CLI
npm install -g securitylayeryarn global add securitylayerpnpm add -g securitylayerbun add -g securitylayerVerify installation
sl --versionYou can also use the full command name:
securitylayer --versionWhat's included
The securitylayer package installs:
sl/securitylayer— The CLI binary@securitylayerai/core— The security engine (capability gate, taint tracker, normalizer, rules, LLM judge)
Next steps
Run the interactive setup wizard:
sl initSee Init for a full walkthrough, or jump to Quick start for an end-to-end walkthrough.