Skip to content

Using Merlin

Installation

Install, pair, update and disconnect Merlin on macOS, Windows or Linux.

The desktop app connects macOS and Windows machines. The CLI daemon connects Linux machines as a background service. Both use the same browser approval and runtime model. Before installing either client, confirm the local agent requirements in Prerequisites.

Install the desktop app

  1. Open Download Merlin and choose the build for your operating system and architecture.
  2. Install and open the app.
  3. Choose Connect this machine in Connection, or Connect Merlin on the web app's Settings > Devices page to open the app and start the same approval.
  4. Follow the browser approval link, sign in and confirm the intended workspace.
  5. Return to the app and check that the connection is ready and at least one runtime is available.

A freshly installed app has no workspace yet but already lists the agents it found on this computer. Nobody can use them until you connect. Connect this machine opens the browser approval.

The approval page names the machine and the workspace it will join. Choose Not now if you did not just start this from a device of yours.

After approval the workspace reads Connected and each runtime reports its status, version and model. Only the active workspace sends tasks to this machine, and new runtimes start Private.

On Windows, if SmartScreen asks you to confirm the first launch, choose More info, then Run anyway after confirming the installer came from Merlin's download page.

If a runtime reports that it is not signed in, choose Sign in beside it in Connection. This runs the provider's own sign-in in your browser. On Linux, complete the provider's local sign-in yourself.

Install the Linux daemon

Install and sign in to Claude Code or Codex, then run:

curl -fsSL https://cdn.usemerlin.ai/daemon/install.sh | sh

If the installer reports that the machine is not paired, run merlin login and follow the approval link it prints. On a headless machine or over SSH, open it in a browser on another device. The approval screen identifies the machine and workspace.

Check readiness with:

merlin status
merlin doctor

status reports connection and runtime state. doctor checks local preconditions and explains the next repair.

Manage the Linux service

CommandPurpose
merlin startStart the background service.
merlin stopStop the service.
merlin restartRestart it after a local change or for recovery.
merlin logs -fFollow the service log.
merlin loginApprove the machine and activate the returned workspace.
merlin --versionPrint the installed version.
merlin --helpShow available commands.

merlin --help lists every command with its options.

Work with multiple workspaces

A machine can be approved in several workspaces but serves one at a time. In the desktop app, use Add workspace and Switch in Connection. Workspaces are grouped under each signed-in account's email. While tasks run on this machine, Switch asks first: Keep running stays put, Cancel tasks and switch stops them.

On Linux:

merlin workspace list
merlin workspace add
merlin workspace switch <name>

Switching the web app's workspace does not switch the desktop app or daemon.

Update and disconnect

The desktop app exposes update and diagnostic controls in About. It can check for and install a current release. If the server says the client is too old, update before retrying.

On Linux, run merlin update, then confirm with merlin status. merlin logout disconnects the active workspace while retaining other approvals. merlin uninstall removes the service according to the options it shows.

Disconnect an individual workspace from Connection, or choose Delete device in the web app when it should no longer belong to that workspace. If tasks are running on this machine, Disconnect and Sign out ask first, and the stopped tasks end as cancelled. See Contact support for diagnostic details to include when a connection remains broken.