
Conventions
The binary is called alter. alter --version prints the bare version number. Commands that talk to the running assistant reach it over a private socket in the data folder, so the background process has to be running (see Running as a service).
Interactive commands show a banner and spinners. When output is piped, or when NO_COLOR is set, the output stays plain. <angle brackets> are values you supply, [square brackets] are optional, and ... means the flag can be repeated.
Secrets are never passed as arguments. Commands that need one read it from standard input and put it in the system keychain.
Running
alter serve
Runs Alter in the foreground. Use it for debugging or inside a process manager of your own. Most people use alter service instead.
sh
alter serveOnly one process may open a given data folder.
alter chat
Opens a chat with the assistant in the terminal. It is the same agent as the app, Slack, Telegram and Discord, with the same sessions and approvals.
sh
alter chatalter ui
Opens Alter. On a Mac that has the app, it opens the app. Otherwise it opens your browser, signed in with a one-time link that is valid for about two minutes.
| Flag | Meaning |
|---|---|
--browser | Use the browser even when the app is installed. |
--no-open | Only print the sign-in link. |
--remote | For a server: print how to open the UI from your own computer through an SSH tunnel. |
sh
alter ui --remoteSetup and updates
alter setup
Sets Alter up step by step: the assistant's name, models, Slack, and starting at login. It detects Ollama (127.0.0.1:11434) and LM Studio (127.0.0.1:1234) if they are running.
sh
alter setupalter service
Keeps Alter running: starts it at login and restarts it if it fails. On macOS this is a LaunchAgent, on Linux a systemd user unit, and under Homebrew it uses brew services. See Running as a service.
| Subcommand or flag | Meaning |
|---|---|
install | Install the service and start it. |
uninstall | Stop doing that. |
status | Say whether the service is running. |
--print | With install: only show what would be installed. |
sh
alter service install --printalter update
Installs the newest version of Alter, if there is one. One updater covers the app, the CLI and the Homebrew install together. Updates are signed, fetched over HTTPS, forward-only, and swapped in with a rollback.
| Flag | Meaning |
|---|---|
--check | Only say whether a newer version exists. |
sh
alter update --checkalter licence
Shows the licence state. Licensing is switched off in this version, so nothing is limited and the command reports that it is not switched on yet. alter license also works.
| Subcommand | Meaning |
|---|---|
check | Ask the licence service again now. |
activate [key] | Activate a key on this computer. The key is read from standard input if you leave it out. |
sh
alter licenceTalking
alter soul
Shows how your assistant talks to you (the dials stored in SOUL.md), or sets one.
| Form | Meaning |
|---|---|
alter soul | Show the dials. |
alter soul set <dial> <value> | Turn one dial. |
| Dial | Values |
|---|---|
emoji | none, few, some, lots |
humour | 0 to 100% |
directness | 0 to 100% |
length | short, balanced, detailed |
sh
alter soul set length shortalter language
Shows or sets the language Alter writes in first: en, fr, de, es, pt, or auto. Alter always answers in the language you write in.
| Flag | Meaning |
|---|---|
--app | Set the desktop app's language instead. |
sh
alter language ptalter allow
Controls the shell commands Alter may run on this computer without asking. A rule is an exact command, or a prefix ending in *.
| Form | Meaning |
|---|---|
alter allow [list] | Show the rules. |
alter allow add <command> | Allow a command for good. |
alter allow remove <command> | Ask first again. |
sh
alter allow add 'git status*'Notes
alter import
Brings notes in. It reads a folder of Markdown (an Obsidian vault), a Notion export, Bear text bundles or an Evernote .enex file. The import is one revertible change on the timeline, nothing is overwritten, and clashes go under imported/.
| Flag | Meaning |
|---|---|
--apple-notes | Bring in Apple Notes from this Mac instead of a path. |
sh
alter import ~/Documents/obsidian-vaultalter learn
Reads the notes in your vault (or one folder) and drafts what Alter learned into USER.md, MEMORY.md and SOUL.md for your approval, asking about anything unclear. Imports of 10 notes or more do this by themselves.
sh
alter learn peoplealter vault
Shows where your notes are, moves them, or points Alter at a folder that already holds notes.
| Form | Meaning |
|---|---|
alter vault | Show where the vault is. |
alter vault move <folder> | Move the vault to a new or empty folder. Every file is copied and checked, and the old copy is kept until you remove it. |
alter vault use <folder> | Use a folder that already holds notes (an Obsidian vault, a clone of a repository) and bring your notes into it without replacing anything there. |
Flag (for use) | Meaning |
|---|---|
--leave | Leave your current notes where they are instead of bringing them in. |
--yes | Do not ask first. |
sh
alter vault use ~/notes --yesalter files, alter read, alter sample
| Command | Meaning |
|---|---|
alter files | List the vault's notes. |
alter read <path> | Print a note. |
alter sample | Fill an empty vault with a synthetic sample workspace. |
sh
alter read memory/stances.mdalter tidy
Finds notes that were created and never written in, and proposes archiving them. It asks before doing anything. Alter also does this by itself each week for empty notes older than a week.
sh
alter tidyalter status
Shows where Alter keeps its data.
sh
alter statusalter events
Reads the record of changes, newest first. See Architecture.
| Flag | Meaning |
|---|---|
--since <date> | ISO date or time (inclusive). |
--until <date> | ISO date or time (exclusive). |
--kind <kind> | heartbeat, owner, decision, document or correlation. Repeatable. |
--text <words> | Words that must all appear. |
--limit <n> | At most n events. |
--json | Print JSON. |
sh
alter events --kind decision --since 2026-11-01 --limit 20Models
Connections, roles and costs are explained in the user guide: Models.
alter connect
Adds a model connection. The secret is read from standard input into the system keychain and never touches the settings file.
| Flag | Meaning |
|---|---|
--provider <p> | anthropic or openai-compatible. |
--auth <a> | api-key, bearer or none. |
--base-url <url> | The address of an OpenAI-compatible server. |
sh
printf '%s' "$KEY" | alter connect work --provider anthropic --auth api-keyalter role
Chooses the model for a kind of work. The roles are planner, quarantine (the private reader), tagger and reflection.
| Flag | Meaning |
|---|---|
--effort <level> | Thinking effort: low, medium, high, xhigh, max (Anthropic models). Use default to clear it. |
--budget <usd> | A daily spending cap in US dollars, on Alter's own estimate. Use off to clear it. Reaching it stops nothing: Alter tells you once that day. |
sh
alter role planner work my-model --effort high --budget 5
alter role planner --budget offWith only flags and no connection, alter role changes the effort or the cap of the model a role already uses.
alter models
Shows which model does each kind of work, and any that are standing in right now.
sh
alter modelsalter usage
Shows what the models cost, estimated from a dated price list, per role, per model and per routine. Local models cost nothing.
| Flag | Meaning |
|---|---|
--days <n> | The period, from 1 to 366 days. |
sh
alter usage --days 30alter fallback
When a model's usage limit is reached, Alter can switch to another connected model until the limit lifts, and tell you. It is on unless you turn it off.
sh
alter fallback offChannels
alter channel
Switches a channel on or off. The channels are cli, slack, telegram, discord and app.
| Form | Meaning |
|---|---|
alter channel <name> on|off | Switch a channel. |
alter channel slack search [off] | Let Alter search Slack with your own user token (xoxp-), or stop doing so. |
alter channel telegram on | First-time Telegram setup: your own bot from @BotFather, its token into the keychain, and pairing with your account. |
alter channel discord on | First-time Discord setup: your own bot from the Developer Portal, its token into the keychain, and pairing with your account. |
sh
alter channel app offSources
Alter is an MCP client. See MCP servers and the user guide's Sources.
alter source import
sh
alter source import [--from claude-desktop|claude-code] [--all] [--yes]Brings the MCP servers you already set up in Claude Desktop or Claude Code into Alter. You pick which ones. Their keys and tokens go to the keychain. A server with a password inside its command or address is left out, with the reason.
| Flag | Meaning |
|---|---|
--from claude-desktop|claude-code | Look in one app only. |
--all | Pick every server that can come as it is. |
--yes | Skip the final question, for scripts. |
alter source add
Connects an MCP server as a source. There are three forms.
sh
alter source add <id> --url <https url> [--label <name>] [--token]
alter source add <id> [--label <name>] [--token-env <VAR>] -- <command...>
alter source add <id> [--label <name>] --secret-env <VAR> [--secret-env <VAR>...] -- <command...>| Flag | Meaning |
|---|---|
--url <https url> | A remote MCP server. Must be https. |
--label <name> | A display name. |
--token | Read a bearer token from standard input into the keychain. |
--token-env <VAR> | For a local command: pass a token to it in this environment variable. |
--secret-env <VAR> | For a local server that reads several secrets from its environment. Repeatable. One secret per line is read from standard input, in order. |
-- <command...> | The local command that starts the server. |
sh
printf '%s' "$TOKEN" | alter source add tracker --url https://mcp.example.com/ --tokenalter source list, remove, drive
| Command | Meaning |
|---|---|
alter source list | Sources, whether they are connected, and their tools. |
alter source remove <id> | Disconnect a source and forget its token. |
alter source drive [id] | Let Alter read your Google Drive (it never changes it). Opens Google's page to approve. |
alter source allow, ask, off
Sets the permission of one tool, or of all of them.
sh
alter source allow tracker search_issues
alter source ask tracker all
alter source off tracker delete_issueOnly a reading tool can be set to allow. Acting tools are ask or off.
Routines and watches
Routines are explained in the user guide: Routines. There is no routine add: create routines in the app or by asking in chat.
alter routine
| Form | Meaning |
|---|---|
alter routine list | Your routines, when they run, and how the last run went. |
alter routine run <id> | Run a routine now and show what it wrote. |
alter routine suggest | Ask Alter to look at how you work and propose a routine. |
alter routine pin <id> <source__tool> '<json>' [--label <text>] | Pin an exact source call that the routine reads itself before every run. |
alter routine pin <id> web_fetch '{"url":"https://..."}' [--label <text>] | Pin one web page. |
alter routine unpin <id> <n> | Remove pinned call number n. |
alter routine model <id> <connection> <model> [--effort <level>] [--budget <usd>] | Run the routine on its own model. |
alter routine model <id> [--effort <level|default>] [--budget <usd|off>] | Change the effort or cap of its own model. |
alter routine model <id> --clear | Back to the planner's model. |
alter routine schedule <id> [--at <HH:MM,...>] [--days <mon,tue,...|all>] [--month-days <1,15,last|off>] | Change when it runs. |
The model runs only when the pinned results changed (times and dates do not count), or every two hours. Days of the month go from 1 to 31 plus last, in your time zone.
sh
alter routine schedule morning-brief --at 07:30 --days mon,tue,wed,thu,frialter watch
A watch makes Alter investigate when a message arrives in a Slack channel. Invite Alter to the channel in Slack first (/invite).
| Form | Meaning |
|---|---|
alter watch [list] | The channels Alter watches. |
alter watch add <id> --channel <name>... --say <instructions> [flags] | Add or change a watch. |
alter watch remove <id> | Stop watching. |
Flag (for add) | Meaning |
|---|---|
--channel <name> | A channel to watch. Repeatable. A name ending in * covers every channel that begins with it (inc-*). |
--say <instructions> | What Alter should do when a message arrives. |
--report thread|dm | Where findings go: the thread or a direct message to you. |
--realm <id> | Run the investigation inside a realm. |
--autopost | Post findings to the thread directly. Without it, you approve the post first. |
sh
alter watch add incidents --channel 'inc-*' --say "Find the likely cause and recent deploys" --report threadDrafts and approvals
Alter never sends anything. See Approvals.
alter drafts
Alias: alter draft.
| Form | Meaning |
|---|---|
alter drafts | List the drafts Alter wrote for you. |
alter drafts show <id> | Print a draft, ready to copy. |
alter drafts use <id> | Put an older draft where it belongs (a draft in Gmail or Outlook). Nothing is sent. |
alter drafts done <id> | Mark a draft as used. |
alter drafts dismiss <id> | Set a draft aside. |
alter drafts allow google|microsoft | Let Alter create drafts in Gmail or Outlook. Opens the sign-in page. |
alter drafts voice | Show how you write and review, yours and in each realm. |
alter drafts voice set [--realm <id>] <words> | Say how you write, in your own words. |
sh
alter drafts voice set --realm work "Short, warm, no exclamation marks"alter approvals, approve, deny
An approval is bound to the exact action and its arguments, can be used once, and expires after 24 hours.
| Command | Meaning |
|---|---|
alter approvals | List actions waiting for your approval. |
alter approve <id> [--always] | Approve one. With --always, a shell command saves a rule so it is not asked again. |
alter deny <id> | Refuse one. |
sh
alter approvals
alter approve 3f2a9cRealms
Realms are separate parts of your life. See Realms.
alter realm
| Form | Meaning |
|---|---|
alter realm list | Your realms. |
alter realm add <id> --label <name> [flags] | Create or change a realm. Its questions are answered only from its notes and sources, by its model. |
alter realm remove <id> | Remove a realm. Its notes and sources become yours again. |
Flag (for add) | Meaning |
|---|---|
--label <name> | The realm's display name. |
--folder <path> | A folder that belongs to it. Repeatable. |
--tag <tag> | A tag that belongs to it. Repeatable. |
--source <id> | A source it may use. Repeatable. |
--keyword <word> | A word that routes a message to it. Repeatable. |
--about <words> | A description in plain words. |
--model <connection>:<model> | The model that answers for it. |
sh
alter realm add work --label Work --folder Work --tag work --keyword standupPlugins
See Plugins.
alter plugin
Alias: alter plugins.
| Form | Meaning |
|---|---|
alter plugin list | Plugins, on or off. |
alter plugin enable <id> | Turn one on. |
alter plugin disable <id> | Turn one off. |
alter plugin show <id> | What the plugin shows. For git: branch, remote, changes, commits. |
alter plugin set <id> <setting> <value> | Change a setting. |
alter plugin run <id> <command> | Run a command. |
sh
alter plugin set git mode manual
alter plugin run git syncReporting from other tools
See Reporting from Claude Code.
alter tell
Tells Alter about work done elsewhere. It keeps what matters in your notes. A report can be up to 20,000 characters.
| Flag | Meaning |
|---|---|
--from <name> | Who is reporting. Default claude-code. |
--about <project> | What the work was about: a project or a repository. |
Give - as the text to read it from standard input.
sh
git log --oneline -10 | alter tell --from ci --about my-app -alter claude
| Command | Meaning |
|---|---|
alter claude install | Give Claude Code the /alter-report skill. |
alter claude uninstall | Take it away again. |
Diagnostics
alter settings
Shows the settings.
sh
alter settingsalter bug
Opens the bug report form on nubisco.io, filled in for this version and operating system.
| Flag | Meaning |
|---|---|
--crash | Report the latest crash: shows it, copies it, and opens the form. |
--print | Only print the address (and the crash). Open and copy nothing. |
sh
alter bug --crash --printEnvironment
| Variable | Effect |
|---|---|
ALTER_HOME | The data folder. |
ALTER_UI_PORT | The port of the local UI. Default 7420. |
NO_COLOR | Plain output. |
The full list, including the installer's variables, is on Data and folders.