Skip to content

Developer quickstart

This gets your company's rules into Claude Code.

You need two things from your Aegis administrator:

  • your organisation's Aegis address, for example https://acme.aegis.krathos.systems
  • your API key, a line of text starting with aeg_

Got a ready-made install command?

If your administrator or your invitation page gave you a line from Copy install command, paste that into a terminal instead of doing steps 1 and 2, then carry on from step 3.

1. Install

On macOS or Linux, paste this into a terminal:

curl -fsSL https://github.com/Krathos-systems/aegis-cli/releases/latest/download/install.sh | bash

It installs the aegis command and the Claude Code plugin. On Windows, see Install.

2. Log in

aegis login

It asks three things:

  1. The Aegis address: paste the one you were given.
  2. Where to keep your key: press Enter for the default.
  3. Your API key: paste it. Nothing shows on screen as you paste.

3. Let Aegis manage your machine

Next, aegis login lists the files in your home folder that Aegis would look after and asks you to type a phrase:

! Aegis will manage these files on this machine. What is in them now is replaced.

  ~/.claude/CLAUDE.md
  ~/.claude/settings.json

› To agree, type "yes, manage this machine":

If you've written your own ~/.claude/CLAUDE.md, copy it somewhere first. To decide later, press Enter and run aegis manage when you're ready. See Letting Aegis manage your machine.

If your account only receives rules for repositories, you won't see this question.

4. Set up a repository

In a terminal, go to a git repository you work in and run:

aegis init

This writes the repository's rules, including its CLAUDE.md, and tells git to ignore them. Aegis recognises the repository by its git address. If your administrator hasn't registered it, you get a warning instead, and CLAUDE.md holds only a note saying so.

5. Check it worked

aegis doctor

No line should say FAIL. If one does, Troubleshooting explains each message.

Staying up to date

The Claude Code plugin keeps your files current while you work. To update straight away, run:

aegis sync

The User guide covers every command.