- Node.js 20.19.0 or higher — Check your version:
node --version
npm install -g @ww-ai-lab/openspec@latestpnpm add -g @ww-ai-lab/openspec@latestyarn global add @ww-ai-lab/openspec@latestBun can install OpenSpec globally, but OpenSpec currently runs on Node.js.
You still need Node.js 20.19.0 or higher available on PATH.
bun add -g @ww-ai-lab/openspec@latestRun OpenSpec directly without installation:
nix run github:WW-AI-Lab/OpenSpec -- initOr install to your profile:
nix profile install github:WW-AI-Lab/OpenSpecOr add to your development environment in flake.nix:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
openspec.url = "github:WW-AI-Lab/OpenSpec";
};
outputs = { nixpkgs, openspec, ... }: {
devShells.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.mkShell {
buildInputs = [ openspec.packages.x86_64-linux.default ];
};
};
}openspec --versionAfter installing, initialize OpenSpec in your project:
cd your-project
openspec initSee Getting Started for a full walkthrough.