Installation & Setup
Oink ships on npm as oink0 and exposes the oink and olink binaries. Choose the path that fits your workflow.
Option A: Global install
Section titled “Option A: Global install”pnpm install -g oink0This mirrors the command in the public README and is the fastest way to use Oink across repositories. After installing, run oink --help to confirm the CLI is accessible.
Option B: Run from source
Section titled “Option B: Run from source”-
Install dependencies:
Terminal window pnpm install -
Bundle the CLI:
Terminal window pnpm run transpileThis uses
esbuildto bundleindex.tsintodist/and normalises anynode:protocol imports for broader Node support. -
Launch the compiled CLI:
Terminal window node --enable-source-maps dist
Need a standalone executable? Run pnpm run predeploy, then pnpm run deploy:local to copy dist/run.js into /usr/local/bin/oink (requires sudo).