Installation
Requirements
- Node.js: 20.0.0 or higher
- Claude Code: Latest version recommended
Install with npm
bash
npm install -g sdd-toolInstall with pnpm
bash
pnpm add -g sdd-toolVerify Installation
bash
sdd --versionClaude Code Setup
SDD Tool collaborates with AI through Claude Code slash commands.
Install Claude Code
bash
npm install -g @anthropic-ai/claude-codeStart Claude Code in Your Project
bash
claudeInitialize Project
In a new project:
bash
cd your-project
sdd initStructure created after initialization:
your-project/
├── .sdd/
│ ├── constitution.md # Project constitution
│ ├── AGENTS.md # AI workflow guide
│ └── specs/ # Feature specs
└── .claude/
└── commands/ # Slash commands (29 total)Update
bash
npm update -g sdd-toolTroubleshooting
Permission Error
bash
sudo npm install -g sdd-toolOr change npm global install path to user directory:
bash
npm config set prefix ~/.npm-global
export PATH=~/.npm-global/bin:$PATHNode.js Version Error
Node.js 20 or higher is required. When using nvm:
bash
nvm install 20
nvm use 20