Requirements
Before you begin, confirm your environment meets these prerequisites:- Node.js ≥ 22.0.0
- npm ≥ 10.0.0
Run the installer
Run the installer with a single command:agents/ or commands/ directly — the installer applies runtime-specific transformations that are required for each target environment.
Interactive installer walkthrough
Select your runtime
The installer prompts you to choose which AI coding runtime to target. Select the one you use — for example, Claude Code, Gemini CLI, Codex, or Cursor.If you use multiple runtimes, run the installer once per runtime, or pass
--all to install for every supported runtime at once.Choose installation scope
Choose between a global install (affects all projects on your machine) or a local install (affects only the current project directory).
- Global is recommended for most users. Commands and agents are available in every project.
- Local is useful when you need project-specific GSD configurations or want to keep GSD isolated to one repository.
Review what will be installed
The installer lists the files it will write — commands, agents, workflows, references, templates, and hooks — along with their destination paths. Review the list and confirm to proceed.
Hooks and permissions registered
For most runtimes, the installer registers GSD’s runtime hooks automatically:
- Status line hook — displays model, task, directory, and context usage bar
- Context monitor hook — injects agent-facing warnings when context runs low
- Prompt guard hook — scans
.planning/writes for injection patterns
settings.json with the permissions GSD needs, eliminating first-run approval prompts.Command prefixes by runtime
GSD Core ships the same commands to every runtime, but the invocation syntax differs. Use the correct prefix for your runtime:- Claude Code / Copilot / OpenCode / Kilo
- Gemini CLI
- Codex
Commands use the hyphen form:Examples:
Runtime-specific install flags
If you prefer to skip the interactive prompts, pass runtime and scope flags directly:Verify the installation
After the installer completes, open your runtime and run:For Gemini CLI users, run
/gsd:new-project instead.Start your first project
Once GSD Core is installed, run/gsd-new-project to begin. The command walks you through an interactive session to define your project, runs parallel research agents to understand your domain, generates a REQUIREMENTS.md and ROADMAP.md, and leaves you ready to start the phase loop.
See the Quickstart guide for a complete walkthrough of your first project from install to shipped phase.
Updating GSD Core
To update to the latest stable release, run the same install command again — the installer is idempotent and backs up any locally modified files togsd-local-patches/ before overwriting:
