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

# Quickstart

> Install Wrapper, share a session, and attach. Does not patch your shell config.

Wrapper supports macOS and Linux. On Windows, use WSL.

## Install the CLI

### Homebrew

```bash theme={null}
brew install heycupola/tap/wrapper
```

If Homebrew reports that Xcode is outdated, update Command Line Tools or use the
curl installer below. The formula only unpacks a release binary; it does not
build Wrapper with Xcode. See [Troubleshooting](https://docs.wrapper.sh/troubleshooting.md).

### Checksum-verified installer

```bash theme={null}
curl -fsSL https://wrapper.sh/install | bash
```

The installer downloads a release tarball from GitHub Releases, verifies
`checksums.txt`, and installs under `$HOME/.wrapper` (override with
`WRAPPER_INSTALL_DIR`). Optional pins:

```bash theme={null}
WRAPPER_VERSION=v0.2.3 curl -fsSL https://wrapper.sh/install | bash
```

Confirm:

```bash theme={null}
wrapper --version
```

## Update the CLI

Update with the same method you used to install.

Homebrew:

```bash theme={null}
brew update
brew upgrade heycupola/tap/wrapper
```

Curl installer:

```bash theme={null}
curl -fsSL https://wrapper.sh/install | bash
```

Do not mix the two. The curl installer prepends `$HOME/.wrapper/bin` to `PATH`,
so that copy wins over Homebrew. After `brew upgrade`, `wrapper --version` can
still show the older curl binary. Check with `which -a wrapper`. See
[Troubleshooting](https://docs.wrapper.sh/troubleshooting.md).

## Get iOS viewer beta

The iPhone and iPad app is a TestFlight viewer, not a host. The shell, files,
and credentials stay on the Mac or Linux machine. After the CLI is installed
and a session is shared, attach from iOS.

See [Mobile viewer](https://docs.wrapper.sh/guides/mobile-viewer.md).

![Terminal output of the curl installer on macOS: download and checksum verification, the Wrapper banner, Installed Wrapper v0.2.4 into \~/.wrapper, and the Get started commands](https://mintcdn.com/wrapper/JLMnFS4G4wmSxZil/images/cli-install-success.webp?fit=max\&auto=format\&n=JLMnFS4G4wmSxZil\&q=85\&s=ce051a6338dd97a0d3493e71326e1c11)

## Share a session

`wrapper share` does not patch your shell config:

```bash theme={null}
wrapper auth login
wrapper share
```

Wrap a command without sharing yet:

```bash theme={null}
wrapper run -- claude
```

Prefer a remote Linux box? See [Remote Linux box](https://docs.wrapper.sh/guides/linux-remote.md).

## Optional: wrap every new terminal

`wrapper install` is optional. It adds a line to your shell config so every new
interactive shell is wrapped. Sharing does not need this.

```bash theme={null}
wrapper install --dry-run
wrapper install
```

## Sign in

Remote share needs a Wrapper account. Local attach uses the loopback token
only:

```bash theme={null}
wrapper auth login
```

Approve the device code at the printed URL. Check status with
`wrapper auth whoami`.

See [Authentication](https://docs.wrapper.sh/guides/auth.md) for token storage and logout.

## Attach locally

From another terminal on the same machine:

```bash theme={null}
wrapper status
wrapper attach
```

Local attach uses loopback plus a per-session token from your session registry.
It does **not** use the Fly relay, Convex, or Pro.

See [Local attach](https://docs.wrapper.sh/guides/local-attach.md).

## Share remotely (Pro)

`wrapper share` shares immediately. In a running host, press `Ctrl+\` then `s`.
Wrapper prints a share code and join command when the shell is idle.

Owner join from any device:

```bash theme={null}
wrapper attach --relay --id <sessionId>
```

Guest join uses the same command and a hidden share-code prompt. Press
`Ctrl+\` then `u` to revoke access.

> [!WARNING]
>
> People you invite see the screen. They cannot type unless you allow it.

See [Remote share](https://docs.wrapper.sh/guides/remote-share.md), [Pricing](https://docs.wrapper.sh/reference/pricing.md), and
[Security and privacy](https://docs.wrapper.sh/configuration/security.md).


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