What this guide covers
When you finish, the OpenClaw gateway starts automatically after you log in, and you can open the control UI in the remote Mac's browser. You need: Node at the version the project requires (the install script can handle this) and a working way to access a model.
Steps
Use the official install script
The official OpenClaw install docs give this method:
curl -fsSL https://openclaw.ai/install.sh | bashThe docs say it detects the system, installs Node if needed, installs OpenClaw and starts onboarding. OpenClaw has a minimum Node version; see that page for the exact number. If you already manage Node yourself, you can also install globally with npm as the docs describe. If a system password prompt appears along the way, check which step is asking for it before you enter the administrator password.
Finish onboarding and run the gateway as a background service
The install script goes into onboarding. You can also run
openclaw onboard --install-daemonby hand later. According to the official getting started docs, onboarding asks how you will access a model (an existing command line login or a provider API key) and whether OpenClaw should keep running in the background. Answering yes installs the background service. On macOS this service is a LaunchAgent under your user directory. It does not involve system-level directories and has nothing to do with the management components the platform has put in place.Check the gateway status and open the control UI
openclaw gateway statusshows whether the gateway is listening,openclaw doctorruns a self-check, andopenclaw dashboardopens the control UI in a browser. That browser also opens on the remote Mac, so work in the remote desktop view. If you send a message in the UI and get a reply, model access is configured correctly.Keep the gateway listening on the local machine only
The official security docs state that with a regular host install the gateway binds to the loopback address, meaning only this Mac can reach it. Keep that default. You may not change the network configuration of a rented machine, and you should not set up port forwarding or install tunneling tools to reach the control UI from outside. When you need to check the status, connect to the remote desktop, or talk to it through a chat channel you have connected. See the official channel docs for how each chat channel is set up.
Log in first after a restart
A LaunchAgent loads only after your account logs in. If the machine is restarted and nobody logs in to the desktop, the gateway does not come up. So after every restart, log in once through the remote desktop and confirm with
openclaw gateway status. Making it fully hands-off after a restart involves automatic login and disk encryption settings, so ask support to assess it first. For background, see recovering after a restart.Give it permissions that fit unattended running
OpenClaw can run commands and read and write files, and the official docs assume one gateway corresponds to one trust boundary. Run
openclaw security auditto check whether the configuration has drifted from the secure defaults. Put only the accounts and keys it needs on this machine. Tighten who can give it instructions through a chat channel using the pairing and allowlist mechanisms in the official docs.Uninstall before the rental ends
Following the official uninstall docs, run
openclaw uninstall, which takes care of the background service and the state directory. The default state directory is~/.openclaw, which holds the configuration and workspace, so back up what you need to your own storage first. Also revoke the bot tokens bound to your chat channels on their respective platforms.
FAQ
Can OpenClaw reuse a subscription account already logged in on the machine?
The official onboarding can detect and reuse an existing command line login. Whether a subscription may be used that way depends on that provider's terms, so confirm it yourself. Separately, our terms of use prohibit turning a subscription into an outward-facing API or sharing it among several people.
Why not just put it on a VPS?
If all you need is an always-on gateway, a VPS can run it too. A Mac is required only when you need things that exist only on macOS (apps with a graphical interface, automation in the Apple ecosystem). For the trade-offs, see Mac mini or VPS.
What if it needs to control the screen, keyboard and mouse?
Open System Settings in the remote desktop and grant the relevant program permissions such as Screen & System Audio Recording and Accessibility. See screen control permissions. Before granting them, check where the program comes from and what data it will be able to reach.
Will the platform see my conversations with the agent?
The platform runs the necessary operational and security monitoring, such as process and network connection state. It does not record the screen or the content of your business data, and it does not proactively access what is on the device.
Related
- Mac mini for 24/7 AI agents? Only worth it when the agent needs a desktop or macOS apps
- Do I really need a Mac mini to run an agent like OpenClaw, or is a VPS enough?
- Can I still connect to a remote Mac mini after it restarts?
- How to schedule and auto-start jobs with user-level LaunchAgents on a remote Mac mini
- How to manage Node versions with nvm or fnm on a remote Mac mini
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support