Everything you need to go from a fresh machine to a running AI agent. Follow along — it takes about 10 minutes.
If you don't have Node.js yet:
# Mac (via Homebrew)
brew install node
# Linux (Ubuntu/Debian)
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
# Verify
node --version # v20+ required
Pick one (you can add more later):
Open Telegram, search for @BotFather, and send /newbot. Follow the prompts. You'll get a bot token like 123456789:ABCdef... — save it.
npm install -g openclaw
openclaw init
Open ~/.openclaw/config.yaml in your editor and add your API key and bot token. See full config docs.
openclaw gateway start
Open Telegram, find your bot, and send it a message. That's it — you have an AI agent!