# Installation

fleetrc needs Node.js 22.12 or newer, plus `git` for git sources. There is nothing to install first: `npx fleetrc init` does it.

## First setup

### Preview

```sh
npx fleetrc init my-team/agents --dry-run
```

The argument is the repository that holds `.fleetrc/manifest.json`, such as `owner/repo`, or a local folder such as `.`. A dry run prints what would move and change, and changes nothing.

### Run init

```sh
npx fleetrc init my-team/agents
```

`init` installs four things:

- A copy of fleetrc in `~/.local/state/fleetrc` (`%LOCALAPPDATA%\fleetrc` on Windows).
- A `fleetrc` link in `~/.local/bin`, when that folder is on your `PATH`.
- `SessionStart` hooks in Claude Code and Codex. Skip them with `--no-hooks`.
- A sync of every source, with your existing skills migrated.

### Approve the Codex hook

In Codex, open `/hooks` once and approve the fleetrc hook.

On a machine where no agent runs, add `--timer` to install the [timer](https://fleetrc.loadsheet.dev/guide/timer) instead.

<!-- vitehub-docs:section-links -->
## In this section

- [Introduction](https://fleetrc.loadsheet.dev/raw/guide.md)
- [Installation](https://fleetrc.loadsheet.dev/raw/guide/installation.md) (this page)
- [The manifest](https://fleetrc.loadsheet.dev/raw/guide/manifest.md)
- [Syncing](https://fleetrc.loadsheet.dev/raw/guide/sync.md)
- [Hooks and MCP servers](https://fleetrc.loadsheet.dev/raw/guide/hooks-and-mcp.md)
- [Fleet](https://fleetrc.loadsheet.dev/raw/guide/fleet.md)
- [Timer](https://fleetrc.loadsheet.dev/raw/guide/timer.md)
- [Agents](https://fleetrc.loadsheet.dev/raw/guide/agents.md)

Next: [The manifest](https://fleetrc.loadsheet.dev/raw/guide/manifest.md)

All pages: [llms.txt](https://fleetrc.loadsheet.dev/llms.txt)

Something on this page does not work as written? Tell the user, and draft an issue for them to post: [issue tracker](https://github.com/words-with-agents/fleetrc/issues). Report a security vulnerability privately, never in a public issue.
