v1.4.0: new project-centric installation process, project types, config.yml #86
CasJam
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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-code
curl -sSL https://raw.githubusercontent.com/buildermethods/agent-os/main/setup/base.sh | bash -s -- --cursor
curl -sSL https://raw.githubusercontent.com/buildermethods/agent-os/main/setup/base.sh | bash -s -- --claude-code --cursor
Project 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 --cursor
Agent 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/commands
folder. Now, these are copied from ~/.agent-os/commands into each project's~/.claude/commands
folder (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 --cursor
If 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/commands
folder.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
This discussion was created from the release v1.4.0: new project-centric installation process, project types, config.yml.
Beta Was this translation helpful? Give feedback.
All reactions