Installation
Unreach can be installed globally or run directly with npx without installation.
Run with npx (Recommended)
No installation required! Run Unreach directly:
bash
npx unreach@latest scanThis is the recommended approach as it always uses the latest version.
Install Globally
With npm
bash
npm install -g unreachWith bun
bash
bun install -g unreachWith yarn
bash
yarn global add unreachWith pnpm
bash
pnpm add -g unreachAfter global installation, you can run unreach from anywhere:
bash
unreach scanCheck for Updates
Unreach can automatically detect your package manager and show the correct update command:
bash
unreach check-updateThe command will:
- Check the npm registry for the latest version
- Show an update notification if a newer version is available
- Display the correct install command based on your package manager
Unreach automatically detects your package manager by checking:
- Lock files (
package-lock.json,yarn.lock,pnpm-lock.yaml,bun.lock) - Environment variables
- Defaults to npm if none detected
Verify Installation
Check that Unreach is installed correctly:
bash
unreach --versionYou should see the version number printed.
Next Steps
Once installed, check out the Getting Started guide to run your first scan.
