Installation
Necro requires Node.js ≥ 20.
From npm (recommended)
Section titled “From npm (recommended)”Install the global necro command:
npm install -g @manehorizons/necronecro scan src/Or run it without installing — ideal for agents and CI:
npx -y @manehorizons/necro scan src/The rest of this guide writes commands as necro …; substitute
npx -y @manehorizons/necro … if you prefer not to install globally.
From source
Section titled “From source”git clone https://github.com/manehorizons/necrocd necronpm installnpm run buildThis produces a bundled CLI at dist/cli.js; run it with node dist/cli.js scan src/.
Verify
Section titled “Verify”necro --versionnecro scan --helpNext: run your first scan in the Quickstart.