Installation
Get the hackspot CLI on your machine, or run it on demand with npx.
The CLI ships as the @hackspot/cli
package on npm. Once installed, the command on your PATH is just hackspot.
Requirements
- Node.js 18+ — for the global
fetchthe CLI relies on. Check withnode --version. - An AI coding agent on your
PATHif you wantbuildto launch one for you:claude,codex, oropencode. This is optional — you can scaffold without launching and run your agent yourself.
Run without installing
The fastest way to start. npx fetches and runs the latest version each time, so
there's nothing to keep up to date:
npx @hackspot/cli login
npx @hackspot/cli list
npx @hackspot/cli build 42Install globally
If you'll use it often, install it once so hackspot is always on your PATH:
npm install -g @hackspot/cli
hackspot loginpnpm add -g @hackspot/cli
hackspot loginbun add -g @hackspot/cli
hackspot loginUpgrade and uninstall
npm install -g @hackspot/cli@latest # upgrade to the newest version
npm uninstall -g @hackspot/cli # remove it