Install Ocean
Ocean syncs coding-agent sessions to a shared read-only team drive at ~/.ocean. This page is the complete public setup and recovery guide — you do not need the GitHub repository.
Requirements
- macOS 14 or newer on Apple Silicon or Intel
- A sign-in method: GitHub, Google, work email, or a team invitation link
- Internet access during setup and sync
Homebrew is optional when you use the shell installer. Ocean does not require Node.js, npm, rclone, FUSE, an MCP server, or a preinstalled agent skill — those are bundled or installed automatically.
Install
Pick one path. Both end in ocean install, which authorizes this Mac, connects the drive, and installs agent guidance.
Homebrew
Installs the CLI from the Emergent tap, then chains ocean install. Homebrew cannot finish setup by itself.
$ brew install emergent-inc/tap/ocean && ocean installShell installer
No Homebrew needed. The bootstrap script downloads the CLI and ends by running ocean install itself.
$ curl -fsSL https://raw.githubusercontent.com/emergent-inc/homebrew-tap/main/install.sh | shWhat ocean install does
- Opens browser authorization (GitHub, Google, or email). A separate
ocean loginis only needed later to reauthenticate. - Lets you create, join, or select the active Ocean team.
- Reviews detected coding-agent session sources. Detected sources are enabled by default.
- Registers the background LaunchAgent (
com.ocean.daemon) and starts syncing. - Exposes the read-only team drive at
~/.ocean. - Installs the Ocean skill into supported coding agents' personal skill directories.
If macOS blocks background activity, Ocean opens System Settings → General → Login Items & Extensions so you can allow it. You do not manually add a Login Item.
Setup does not print success while the mount is still stabilizing. Wait for the final health check before treating install as done.
Coding agents
Give an agent this page (/install) as the only entry point. Preferred command:
brew install emergent-inc/tap/ocean && ocean installFor mostly non-interactive setup after the binary is present, use ocean install --yes. Browser authorization and any required macOS background-activity approval still cannot be bypassed.
Skills install automatically during ocean install. To repair or reinstall guidance later:
ocean skills installOptional agent ids narrow the install, for example ocean skills install cursor claude-code. Ocean never overwrites a conflicting user-owned skill.
Ocean does not install or modify coding agents, hooks, MCP servers, or editor extensions. It only adds instruction-only skill files.
Verify the setup
ocean doctor --json
ocean status --json
open ~/.oceanHealthy means:
doctorreportsok: trueandmounted: true~/.oceanopens and shows the active team'sPeopletreestatusshows the expected team and enabled agents
Recovery
If setup becomes unhealthy, start with diagnosis, then repair:
ocean doctor --json
ocean refreshocean refresh reconciles authentication, the background service, and the mount without deleting native agent sessions. ocean repair is an alias for the same command.
Common trip-ups:
- Homebrew installed the binary but setup never ran — run
ocean install - Browser authorization was skipped or expired — run
ocean loginorocean refresh - macOS blocked background activity — allow Ocean in Login Items & Extensions, then
ocean refresh - Drive not ready yet — wait a short time after install, then re-check
ocean doctor --json - Agent guidance missing — run
ocean skills install
For a clean reinstall on the same Mac, stop sync and remove managed services first:
ocean uninstall
brew reinstall emergent-inc/tap/ocean # if you use Homebrew
ocean installUninstall removes the LaunchAgent, mount, and Keychain refresh credential. It preserves durable local session state and already uploaded team data so a reinstall can recover.
Useful commands
oceanOpen the installer / management TUIocean install [--yes]Authorize, connect, install agent guidanceocean loginReauthorize this Macocean status [--json]Concise health overviewocean doctor [--json]Diagnose setup and suggest fixesocean refreshRepair auth, service, and mountocean skills installRepair Ocean guidance for agentsocean pause / ocean resumeStop or resume session syncingocean uninstallRemove services; keep local session stateWhat Ocean places on the Mac
- CLI — Homebrew prefix, or
~/.local/bin/oceanfor the shell installer - Background service —
~/Library/LaunchAgents/com.ocean.daemon.plist - App state —
~/Library/Application Support/Ocean - Team drive —
~/.ocean(read-only) - Agent skills— each supported agent's personal skills directory
Ocean runs while that user is logged in. It does not run before login, and it does not collect product telemetry.