scan target/home/runner/work/oh-pen-testing/oh-pen-testing/packages/websetup in progress: scan target will lock in once you finish the wizard
La Guida · 01

Install

Get the CLI on your machine. Node.js 22+ is the only prerequisite.

Prerequisite: Node.js 22 or later. Install it from nodejs.org or run brew install node@22. That’s it. No Docker, no Python, no system deps.
Global install
recommended

Installs the opt and oh-pen-testing commands globally so you can run them from any project.

npm install -g @oh-pen-testing/cli

Verify the install:

opt --version
Try without installing (npx)

Downloads on first run, caches for subsequent runs. Good for a quick trial; switch to the global install once you use it regularly.

cd /path/to/your/project
npx @oh-pen-testing/cli@latest setup

Note: the web wizard will show an install hint if opt is not on your PATH.

From source (contributors)

Clone the monorepo, build everything, and link the CLI globally. Requires pnpm 10+.

git clone https://github.com/Oh-Pen-Sauce/oh-pen-testing.git
cd oh-pen-testing
pnpm install
pnpm turbo run build
cd packages/cli && npm link

The opt binary is now linked from your global node_modules.