# Installation

```sh pm
pnpm add skillrc fleethosts
```

Requires Node 22.20 or later. Git sources also need `git` on `PATH`.

`fleethosts` gives you `Places`, the object every skillrc function takes first. skillrc depends on it too, so the two share one registry of child processes.

## First run

### Name your program

```ts
import { standardPlaces } from "fleethosts/places";

const places = standardPlaces("mytool");
```

### Edit an agent's config

```ts
import { editConfigFile } from "skillrc/io";

const result = editConfigFile(places, "/home/me/.claude/settings.json", () => [
  { path: ["env", "MYTOOL_HOME"], value: "/home/me/.config/mytool" },
]);
```

### Read the result

`result.changed` says whether the file changed. `result.skipped` says why it was left for later, such as a lock another program holds. `result.error` says why it can't be edited at all.

Next, read [Config files](https://skillrc.loadsheet.dev/guide/config-files) for edits, or [Sync](https://skillrc.loadsheet.dev/guide/sync) to run the whole engine.

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

- [Introduction](https://skillrc.loadsheet.dev/raw/guide.md)
- [Installation](https://skillrc.loadsheet.dev/raw/guide/installation.md) (this page)
- [Config files](https://skillrc.loadsheet.dev/raw/guide/config-files.md)
- [Fetching](https://skillrc.loadsheet.dev/raw/guide/fetching.md)
- [Definitions](https://skillrc.loadsheet.dev/raw/guide/definitions.md)
- [Sync](https://skillrc.loadsheet.dev/raw/guide/sync.md)
- [Coding agents](https://skillrc.loadsheet.dev/raw/guide/agents.md)

Next: [Config files](https://skillrc.loadsheet.dev/raw/guide/config-files.md)

All pages: [llms.txt](https://skillrc.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/skillrc/issues). Report a security vulnerability privately, never in a public issue.
