version 1.4.0: project-based installation process, project types, con… - #85
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BIG updates in this one! Thanks for all the feedback, requests and support 🙏
All New Installation Process
The way Agent OS gets installed is structured differently from prior versions. The new system works as follows:
There are 2 installation processes:
"Base installation"
To install the Agent OS base installation,
cd to a location of your choice (your system's home folder is a good choice).
Run one of these commands:
curl -sSL https://raw.githubusercontent.com/buildermethods/agent-os/main/setup/base.sh | bash -s -- --claude-codecurl -sSL https://raw.githubusercontent.com/buildermethods/agent-os/main/setup/base.sh | bash -s -- --cursorcurl -sSL https://raw.githubusercontent.com/buildermethods/agent-os/main/setup/base.sh | bash -s -- --claude-code --cursorProject installation
Your project installation command will be based on where you installed the Agent OS base installation.
~/.agent-os/setup/project.sh./path/to/agent-os/setup/project.sh(after your base installation, it will show you your project installation command. It's a good idea to save it or make an alias if you work on many projects.)
If (for whatever reason) you didn't install the base installation, you can still install Agent OS directly into a project, by pulling it directly off of the public github repo using the following command.
curl -sSL https://raw.githubusercontent.com/buildermethods/agent-os/main/setup/project.sh | bash -s -- --no-base --claude-code --cursorAgent OS config.yml
When you install the Agent OS base installation, that now includes a config.yml file. Currently this file is used for:
Project Types
If you work on different types of projects, you can define different sets of standards, code style, and instructions for each!
Removed or changed in version 1.4.0:
This update does away with the old installation script files:
Claude Code Agent OS commands now should not be installed in the
~/.agent-os/.claude/commandsfolder. Now, these are copied from ~/.agent-os/commands into each project's~/.claude/commandsfolder (this prevents duplicate commands showing in in Claude Code's commands list). The same approach applies to Claude Code subagents files.Upgrading to version 1.4.0
Follow these steps to update a previous version to 1.4.0:
If you've customized any files in /instructions, back those up now. They will be overwritten.
Navigate to your home directory (or whichever location you want to have your Agent OS base installation)
Run the following to command, which includes flags to overwrite your /instructions (remove the --cursor flag if not using Cursor):
curl -sSL https://raw.githubusercontent.com/buildermethods/agent-os/main/setup/base.sh | bash -s -- --overwrite-instructions --claude-code --cursorIf your ~/.claude/commands contain Agent OS commands, remove those and copy the versions that are now in your base installation's commands folder into your project's
.claude/commandsfolder.Navigate to your project. Run your project installation command to install Agent OS instructions and standards into your project's installation. If your Agent OS base installation is in your system's home folder (like previous versions), then your project installation will be:
~/.agent-os/setup/project.sh