Skip to content

Instantly share code, notes, and snippets.

@sueszli
Last active January 31, 2026 11:52
Show Gist options
  • Select an option

  • Save sueszli/59ea904deba95a562c9eb15f14622479 to your computer and use it in GitHub Desktop.

Select an option

Save sueszli/59ea904deba95a562c9eb15f14622479 to your computer and use it in GitHub Desktop.
#
# set up vm
#
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/lume/scripts/install.sh)"
lume create openclaw --os macos --ipsw latest
lume run openclaw
# login, configure, enable "Remote Login", then exit
nohup lume run openclaw --no-display > /dev/null 2>&1 &
#
# ssh into vm
#
lume get openclaw
ssh [email protected] "openclaw status"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo >> /Users/bot/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv zsh)"' >> /Users/bot/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv zsh)"
brew install node
npm install -g openclaw@latest
openclaw onboard --install-daemon
cat ~/.openclaw/openclaw.json
screen -dmS openclaw openclaw gateway
openclaw gateway status
openclaw status
openclaw health
openclaw security audit --deep
openclaw channels login
# ping
openclaw message send --target +15555550123 --message "Hello from OpenClaw"
# check daemon
ssh [email protected] "openclaw status"
#
# snapshot
#
# snapshot
lume stop openclaw
lume clone openclaw openclaw-golden
# reset
lume stop openclaw && lume delete openclaw
lume clone openclaw-golden openclaw
lume run openclaw --no-display
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment