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 securitylayer
yarn global add securitylayer
pnpm add -g securitylayer
bun add -g securitylayer

Verify installation

sl --version

You can also use the full command name:

securitylayer --version

What'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 init

See Init for a full walkthrough, or jump to Quick start for an end-to-end walkthrough.

On this page