Step 1: Install the CLI
Install sudocode globally using npm:Expected output
Expected output
Expected output
Expected output
If you see the version number, sudocode is successfully installed!
Step 2: Initialize Your Project
Navigate to your project directory and initialize sudocode:Expected output
Expected output
.sudocode/ directory in your project with the following structure:
Your project is now ready to use sudocode!
Step 3: Create Your First Spec
Let’s create a spec for a simple feature. Specs capture user intent - what you want to build:Expected output
Expected output
Priority levels: 0 (highest) to 4 (lowest). Default is 2.
Expected output
Expected output
You’ve created your first spec! It’s now tracked in git.
Step 4: Create Your First Issue
Now let’s create an issue - an actionable work item for implementing part of the spec:Expected output
Expected output
Step 5: Link Issue to Spec
Connect your issue to the spec it implements:Expected output
Expected output
Expected output
Expected output
Your issue is now linked to the spec with an
implements relationship!Step 6: View Ready Work
See what work is ready to be done (no blockers):Expected output
Expected output
Step 7: List All Your Work
View all specs:Expected output
Expected output
Expected output
Expected output
Congratulations! You’ve successfully:
- ✅ Installed sudocode
- ✅ Initialized a project
- ✅ Created your first spec
- ✅ Created your first issue
- ✅ Linked them together
- ✅ Queried your work
Next Steps
Now that you have the basics down, explore these topics:Core Concepts
Deep dive into specs, issues, relationships, and feedback
MCP Integration
Set up AI agents to work with sudocode
CLI Reference
Complete command reference and advanced usage
Workflows
Learn spec-driven development workflow
Common Next Actions
Here are some common things you might want to do next:Create more issues for your spec
Create more issues for your spec
Create sub-specs for complex features
Create sub-specs for complex features
Model dependencies between issues
Model dependencies between issues
Update issue status as you work
Update issue status as you work
Add feedback from implementation to spec
Add feedback from implementation to spec
Troubleshooting
Command not found: sudocode
Command not found: sudocode
Make sure npm global bin directory is in your PATH:Add this to your PATH in
~/.bashrc or ~/.zshrc:Permission denied during npm install
Permission denied during npm install
Use npx to run without global install:Or fix npm permissions:
Already initialized error
Already initialized error
If you see “Project already initialized”, you’re good! You can skip
sudocode init.To reinitialize (⚠️ this will reset your data):Git not tracking .sudocode files
Git not tracking .sudocode files
Check your
.gitignore. Make sure it’s not excluding .sudocode/:Need help? Check out the GitHub Discussions or open an issue.

