Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Running OpenClaw in Sandbox mode (Mac)
- # Full documentation - https://docs.openclaw.ai/install/macos-vm
- # Step One: Install Lume (https://cua.ai/docs/lume/guide/getting-started/installation)
- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/lume/scripts/install.sh)"
- # Step Two: Create VM
- lume create openclaw --os macos --ipsw latest
- # If VM doesn't automatically open, run:
- lume run openclaw.
- # Follow MacOS Setup, turn on Remote Login from System Settings.
- # Step Three: SSH into the VM
- lume get openclaw
- ssh [username]@[IP ADDRESS]
- # Step Four: Install Homebrew, NVM and OpenClaw on VM
- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- # Follow "Next steps"
- brew install nvm
- # Follow steps
- nvm install --lts
- npm install -g openclaw@latest
- openclaw onboard --install-daemon
- # Setup OpenClaw!!
- #Step Five: Run in headless mode
- lume stop openclaw
- lume run openclaw --no-display
- # Step Six (Optional): Create checkpoint
- lume stop openclaw
- lume clone openclaw openclaw-golden
- # Recreate from checkpoint
- lume stop openclaw && lume delete openclaw
- lume clone openclaw-golden openclaw
- lume run openclaw --no-display
Advertisement