---
title: "Install the Claude Code plugin"
description: "The three routes that install the Overlane plugin for Claude Code today, overlane connect, overlane release update, and an upload on claude.ai, with what each one runs and when to use it."
---

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

# Install the Claude Code plugin

The Overlane plugin gives Claude Code the session hooks, skills and guardrails. It signs in and connects the session, refuses edits until a task is held, and carries your project's context. It holds no credential. Pick the route that matches where Claude Code runs.

| You work in | Route |
| --- | --- |
| Claude Code on your machine, first install | [`overlane connect`](#on-your-machine) |
| Claude Code on your machine, plugin already installed | [`overlane release update`](#update-an-installed-plugin) |
| A Claude project on claude.ai | [Upload the plugin](#claude-projects-on-claudeai) |

## On your machine

Run `overlane connect` in the project. It registers the Overlane plugin with each agent it finds, signs you in and binds the project. For Claude Code it runs two native commands for you, both at local scope so only this project uses the plugin:

```sh
claude plugin marketplace add <the built claude marketplace> --scope local
claude plugin install overlane@overlane --scope local
```

Preview what it would do first:

```sh
overlane connect --dry-run
overlane connect --yes
```

Then run [`overlane doctor`](/cli/doctor/) to see one readiness state for Claude Code and the next repair command if one is needed. See [Install in an agent](/client-install/) for the other clients.

## Update an installed plugin

[`overlane release update`](/cli/release-update/) installs the release your project is pinned to. It verifies the release signature and shows the file differences first. For Claude Code it then runs these native commands:

```sh
claude plugin marketplace update overlane
claude plugin install overlane@overlane --scope local
claude plugin update overlane@overlane --scope local
```

The update step is there because `claude plugin install` does nothing for a plugin that is already installed. A release that changes executable files or policy needs `--approve` with its digest, and an update never changes files under a running task. Use `--dry-run` to preview.

```sh
overlane release update --dry-run
overlane release update
```

## Claude projects on claude.ai

A Claude project's cloud threads never run a repository's own hooks, so the plugin has to come from your claude.ai account.

1. Package the plugin. This writes one `.zip` file, with no credential in it, and needs no sign-in:

   ```sh
   overlane client package claude --out ~/Downloads/overlane.zip
   ```

   Without `--out` the file is named `overlane-claude-plugin-<version>.zip` in the current directory. It packages the plugin that ships with the installed CLI. To package a build of your own, build it with the plugin builder (`pnpm --filter @overlane/plugin-builder build` in the Overlane repository writes it under `dist/plugins`) and pass the folder with `--marketplace-root dist/plugins`.
2. Upload the file at claude.ai under Customize > Plugins > Add > Upload plugin. These are the labels the command prints.
3. Start a new thread. Plugins on your account load into every new thread of your Claude projects. A thread that is already running keeps what it started with.

In a repository with Overlane's setup committed, the plugin then signs the thread in and connects it as it starts. Where the repository's own hooks already run, it stays silent. For a faster start, add `npm install --global overlane` to the setup script of the project's cloud environment. See [Set up Claude Code cloud, Claude projects and Codex cloud](/getting-started/cloud-agents/) for the whole setup.

## Related

- [overlane client package](/cli/client-package/) lists every flag of the packaging command.
- [overlane release update](/cli/release-update/) lists the flags of the update command.
- [overlane connect](/cli/connect/) lists what the connect command changes.

Source: https://docs.overlane.app/claude-code-plugin/index.mdx
