The WorkSpec package requires Node.js 18 or a later version.
Install the CLI globally
To use workspec from any directory, run:
Terminal
npm install --global workspecnpm creates an executable link on macOS and Linux. On Windows, npm creates command shims.
Use a project-local installation
To keep the package version in a project dependency, run:
Terminal
npm install workspec
npx workspec --versionVerify the installation
To print the installed package version, run:
Terminal
workspec --versionExpected output for the documented package release:
Text
1.2.4To check command discovery and available options, run workspec --help.