Three installation methods: one-click interactive script, npm global install for hands-on operators, and source build for contributors.
1 1 · Interactive installer (recommended)
Follow the interactive prompts in your terminal to complete the installation.
systemd unit installed automatically when run as root. Otherwise foreground via `agim start`.
Same script — `uname -s` auto-detects Darwin. If Node.js is missing: `brew install node` (Node 22+).
Native Windows isn't supported. WSL2 + Ubuntu is the supported path. First line installs WSL (one-time, reboot may be required); second runs the installer inside Ubuntu.
Installation requires curl, bash, npm, Node.js ≥ 22, and related environment support.
2 2 · npm global
Install agim globally; bring your own config file. See the README for the schema.
3 3 · From source
Clone → install dependencies → build → run in your local environment, then modify it as you like.
Next steps
After installation, run `agim go` in your terminal to start the service.