openspec-install
Install the OpenSpec CLI globally via npm, pnpm, yarn, bun, or nix. Use when the user says "install OpenSpec", "set up OpenSpec", or "openspec command not found".
Install the OpenSpec CLI globally via npm, pnpm, yarn, bun, or nix. Use when the user says "install OpenSpec", "set up OpenSpec", or "openspec command not found".
Install the OpenSpec CLI so that openspec is available globally. This skill covers only installing the CLI; it does not run openspec init. For project initialization after install, use openspec-initial.
node --version. If not installed, guide the user to install Node.js first (e.g. via nvm, fnm, or official installer).Check if already installed
openspec --version. If it succeeds, the CLI is already installed; suggest openspec-initial for project setup or upgrading via npm install -g @fission-ai/openspec@latest.Choose package manager and install
npm install -g @fission-ai/openspec@latestpnpm add -g @fission-ai/openspec@latestyarn global add @fission-ai/openspec@latestbun add -g @fission-ai/openspec@latestnix run github:Fission-AI/OpenSpec -- initnix profile install github:Fission-AI/OpenSpecVerify installation
openspec --version to confirm.Upgrade existing installation
npm install -g @fission-ai/openspec@latest.openspec command available globally in PATH.openspec init in a project.| Environment | Command |
|-------------|---------|
| npm | npm install -g @fission-ai/openspec@latest |
| pnpm | pnpm add -g @fission-ai/openspec@latest |
| yarn | yarn global add @fission-ai/openspec@latest |
| bun | bun add -g @fission-ai/openspec@latest |
| nix (one-time) | nix run github:Fission-AI/OpenSpec -- init |
| nix (persistent) | nix profile install github:Fission-AI/OpenSpec |
| CI | npm install -g @fission-ai/openspec@latest in a cacheable step |
npm install -g without sudo if using nvm/fnm; otherwise consider using nvm.npm bin -g).确保开发环境已安装必要的依赖和工具。
根据项目需求进行基础配置。
按照示例代码实现核心功能。
运行测试确保功能正常。
完成开发后进行部署和监控。