Agent OS v2
Installation Guide
How to install Agent OS on your system and in your projects.
Agent OS uses a two-step installation: first install the base system to your home directory, then compile it into individual projects.
1Base installation
Run the base installation script to install Agent OS to your home directory:
curl -sSL https://raw.githubusercontent.com/buildermethods/agent-os/main/scripts/base-install.sh | bashThis creates ~/agent-os with the default profile containing standards, workflows, agents, and installation scripts.
Alternatively: You can manually download the files from the GitHub repository and place them in your home directory at ~/agent-os/.
Updating? If you already have Agent OS installed, you’ll be prompted with update options and the ability to create a backup. For more information on updating, see the updating guide.
Windows Users: The installation command requires a bash shell. We recommend using Windows Subsystem for Linux (WSL), which provides a full Linux environment on Windows. Alternatively, you can use Git Bash (included with Git for Windows) to run the installation command. Once installed, open your bash terminal and run the curl command above.
Customize your standards
Before installing Agent OS into your projects, take time to customize your coding standards. This is one of the most important steps—your standards define how agents understand and build your code.
Best practice: Create a custom profile that inherits from the default profile rather than editing the default profile directly. This makes updating your base installation easier without losing your customizations. Edit the files in your custom profile’s standards/ folder to match your conventions, preferred frameworks, and architectural patterns.
For Claude Code users with Skills enabled
If you’re using Claude Code Skills integration (enabled by default when standards_as_claude_code_skills: true), run the /improve-skills command after customizing your standards or after installing Agent OS into a project.
This command analyzes each Skill and optimizes its description to improve how Claude recognizes when to apply it, ensuring your standards get used effectively throughout your development workflow.
2Project installation
Navigate to your project:
cd /path/to/your/projectInstall Agent OS:
~/agent-os/scripts/project-install.shThe installer will use your defaults from ~/agent-os/config.yml or prompt you for:
- Which profile to use (default:
default) - Your configuration options for Claude Code commands, subagents, and standards
What gets installed
The project installation compiles from your base:
- standards from your chosen profile
- commands adapted for your configuration options
- workflows configured for your project
This creates:
agent-os/folder with standards and workflows.claude/folder with commands (only whenclaude_code_commands: true)
Configuration defaults
Set defaults in ~/agent-os/config.yml:
defaults:
profile: default
claude_code_commands: true
use_claude_code_subagents: true
agent_os_commands: false
standards_as_claude_code_skills: trueInstallation options
Override defaults using flags:
| Flag | Description |
|---|---|
--profile | Choose which profile to compile from |
--claude-code-commands | Enable/disable Claude Code commands |
--use-claude-code-subagents | Enable/disable delegating to Claude Code subagents |
--agent-os-commands | Enable/disable Agent OS prompt commands |
--standards-as-claude-code-skills | Enable/disable Skills integration for standards |
--dry-run | Preview what would be installed |
--verbose | Show detailed output |
Example flag usage
Use a different profile:
~/agent-os/scripts/project-install.sh --profile nextjsEnable Claude Code with subagents:
~/agent-os/scripts/project-install.sh --claude-code-commands true --use-claude-code-subagents trueEnable Claude Code without subagents:
~/agent-os/scripts/project-install.sh --claude-code-commands true --use-claude-code-subagents falseEnable for other AI coding tools:
~/agent-os/scripts/project-install.sh --agent-os-commands trueEnable Claude Code Skills:
~/agent-os/scripts/project-install.sh --claude-code-commands true --standards-as-claude-code-skills truePreview installation without running it:
~/agent-os/scripts/project-install.sh --dry-runStay updated on Agent OS
Get notified of major new releases and updates to Agent OS.