๐ฆ Adopt a Lobster
5 minutes, from scratch, to your first AI lobster running on your own machine.
Supports Windows ยท macOS ยท Linux
๐ Before You Start
โ A computer with internet access (Windows 10+, macOS 12+, or Ubuntu 20.04+)
โ An LLM API Key (recommended: Anthropic Claude or OpenAI)
โ A Telegram account (for chatting with your lobster โ other IMs work too)
๐ก You do NOT need: coding skills, a server, or a domain. Your laptop is enough.
Windows Installation
Windows 10 / 11
Install Node.js
Head to nodejs.org, download the LTS version, double-click, and click "Next" all the way through.
Once installed, open PowerShell (right-click Start โ Terminal) and verify:
node --version # should show v20.x or higher
npm --version # should show 10.x or higher
๐ก If you get "not recognized", restart your computer and try again.
Install OpenClaw
In PowerShell, run:
npm install -g openclaw
Verify the install:
openclaw --version
Initialize Configuration
Run the setup wizard:
openclaw init
Follow the prompts to enter your API Key and Telegram Bot Token.
No Bot Token yet? Go to @BotFather on Telegram, send /newbot, and you're done in 30 seconds.
Launch!
openclaw gateway start
Find your bot on Telegram, say "hello" โ congrats, your lobster is alive! ๐ฆ
๐ก Want auto-start on boot? Check our Field Notes for the Task Scheduler + VBS approach.
macOS Installation
macOS 12+ (Monterey and later)
Install Homebrew + Node.js
Open Terminal (Terminal.app) and run:
# Install Homebrew (macOS package manager)
/bin/bash -c \
"$(curl -fsSL \
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Apple Silicon Macs (M1/M2/M3/M4) also need:
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' \
>> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
# Install Node.js
brew install node
Install OpenClaw
npm install -g openclaw
openclaw --version
Initialize + Launch
openclaw init # enter your API Key and Bot Token
openclaw gateway start
Message your bot on Telegram โ the lobster lives! ๐ฆ
Auto-start on Login (optional)
# Install as a launch agent
openclaw gateway install
# or manually create ~/Library/LaunchAgents/com.openclaw.gateway.plist
Linux Installation
Ubuntu 20.04+ / Debian 11+ / CentOS 8+
Install Node.js
# Ubuntu / Debian
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
# Verify
node --version
npm --version
Install + Init + Start
npm install -g openclaw
openclaw init
openclaw gateway start
Systemd Auto-start (recommended)
# OpenClaw ships with a systemd installer
openclaw gateway install
# or manually
sudo systemctl enable openclaw-gateway
sudo systemctl start openclaw-gateway
sudo systemctl status openclaw-gateway
๐ก๏ธ Responsible Lobster Keeping
๐ Key Security
- โข Never commit API Keys to public repos (GitHub etc.)
- โข If your Bot Token leaks, reset it via @BotFather immediately
- โข SSH keys should be chmod 600 โ never share them
- โข Rotate API keys periodically
๐ก๏ธ Permission Control
- โข High-risk actions (delete, send email) should require human confirmation
- โข Use
trashinstead ofrm(recoverable) - โข Always back up config before changing it
- โข Use
allowFromin group chats to restrict access
โ๏ธ Legal Use
- โข Don't use your lobster to attack other systems
- โข Don't use it to send spam
- โข Don't use it to steal data
- โข Follow the laws of your country
๐ก Best Practices
- โข Test in a staging environment before going to production
- โข Review your lobster's logs and behavior regularly
- โข Have your lobster log lessons to MEMORY.md
- โข Trust but verify โ AI makes mistakes too
๐ Ready to go?
Open your terminal. One command. Your lobster awaits.
npm install -g openclaw && openclaw init
Official docs: docs.openclaw.ai ยท Source: GitHub ยท Community: Discord