> ## Documentation Index
> Fetch the complete documentation index at: https://docs.forest.app/llms.txt
> Use this file to discover all available pages before exploring further.

# forest skills:update

> Refresh the Forest skills installed by forest skills:init

# forest skills:update

Refresh what [`forest skills:init`](https://docs.forest.app/reference/cli/skills-init) installed in the current repository: reinstall the Forest plugins for Claude Code and Codex, and copy the skills again for the other agents. Copied skill files are overwritten with the new version, and files removed upstream are deleted. Files you wrote yourself are left untouched.

## Usage

```bash theme={null}
forest skills:update [options]
```

## Options

| Option | Description |
| - | - |
| `--ref` | Version of the Forest skills to install, as a Git reference of the [ForestAdmin/ai-marketplace](https://github.com/ForestAdmin/ai-marketplace) repository. Default `main` |

The command reads `.forest/skills-manifest.json`, written by `forest skills:init`, and fails if it does not exist. If the skills were installed from another `--ref`, it warns before switching versions: pass the same `--ref` to stay on it.

Review the changes with `git diff` before committing them.

## Examples

```bash theme={null}
# Update to the latest skills
forest skills:update

# Stay on a pinned version
forest skills:update --ref <GIT_REF>
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.