@getmarrow/install
v0.1.84
Published
Universal installer and governed runner for Marrow agent fleets.
Maintainers
Readme
@getmarrow/install

When AI agents can deploy, publish, merge or change production data, Marrow sits in front of them as the control layer: one policy across your agents, an approval before a risky action, and a receipt of what happened.
- Holds deploys and publishes for the owner's approval on Business and during the 30-day evaluation. On Team and Free, Marrow warns and the action still runs.
- Applies one policy across your agents, holds risky actions, and lets routine ones run.
- Keeps a receipt of what was checked and how it ended, without storing raw prompts or tool output.
- If Marrow is unreachable, hooks hold high-risk actions such as a git push, a publish, a deploy, or an API or cloud delete, and let routine actions run with a warning.
- In Claude Code, the free seatbelt refuses seven kinds of risky action on your machine with no account and no network call.
What it is
@getmarrow/install is the default way to get Marrow working on your machine. It detects supported agents and projects, writes the configuration they need, runs a harmless self-test against your account, and prints a short summary that names the host to restart. After that, Marrow applies your policy before consequential actions and records a receipt of the outcome.
Install
Create an account at getmarrow.ai/signup, open API keys in the dashboard, and create an agent key. The full key is shown once; copy it before you close the dialog.
Save the key in the owner-only file ~/.marrow/env, then run the installer:
mkdir -p ~/.marrow && chmod 700 ~/.marrow
${EDITOR:-nano} ~/.marrow/env # one line: MARROW_API_KEY=<your_key>
chmod 600 ~/.marrow/env
npx -y @getmarrow/install@latest activateThe bare command npx -y @getmarrow/install@latest does the same thing: with no subcommand it also detects, writes the configuration, and runs the self-test. To preview without writing, run npx -y @getmarrow/install@latest --dry-run.
If you cannot write that file, load the key from your secret manager into the MARROW_API_KEY environment variable for this shell session, then run the same activate command. Keep the key off the command line; it lands in your shell history.
With no key, activate and the bare command print what to do and exit 2 before writing anything. --dry-run, doctor, and uninstall need no key.
If you already installed the Claude Code plugin, do not run activate. Put the key in ~/.marrow/env and run /reload-plugins instead. See Start here.
First run
Restart the host the summary names (for example, "Restart Claude Code"), then check:
npx -y @getmarrow/install@latest doctor --self-testdoctor already runs the same server self-test. A passing check means Marrow is working on this machine. For what a healthy first run shows, see First Hour.
Requirements
- Node.js 18 or later
- An agent key in
~/.marrow/env(orMARROW_API_KEYin the environment) for plan-based checks, approvals, and proof. The installer ignores~/.marrow/envunless only you can read it (chmod 700 ~/.marrow && chmod 600 ~/.marrow/env). - Native Windows is not supported yet. Use WSL.
- Cursor support is being fixed and does not work reliably yet. See Start here.
Documentation
The docs at getmarrow.ai/docs are the source of truth for detailed information.
- Start here: first-time setup, plans, and the Claude Code plugin path
- First Hour: what a healthy first run shows
- Get your API key and API key management
- Universal installer: configuration, hooks, key files,
govern, andrun - Update Marrow and Keeping Marrow current
- Uninstall
- Govern an action, Before-action intervention, and Action permit enforcement: policies, gates, and permits
- Govern TUI and Fleet Operator TUI
- Trust and data boundaries, Trust Center, and Security
- Changelog and Pricing
- Marrow for Claude Code and MCP setup
Related packages: @getmarrow/sdk and @getmarrow/mcp.
Uninstall
npx -y @getmarrow/install@latest uninstall # preview: lists what would be removed, changes nothing
npx -y @getmarrow/install@latest uninstall --yes # removes Marrow's own entriesYour own hooks and settings are kept. See Uninstall for details, including --all.
License
MIT
Support
- Docs: getmarrow.ai/docs
- Issues: getmarrow/marrow-install
- Status: getmarrow.ai/status
