#Trying to install it on an ubuntu server but am stuck
1 messages Β· Page 1 of 1 (latest)
Based on the Clawdbot docs, here are the solutions for installation getting stuck on Ubuntu/AWS:
Quick Fixes for "Stuck at Installing Claude"
1. Run installer with verbose output to see where it's hanging:
curl -fsSL https://clawd.bot/install.sh | bash -s -- --verbose
2. If stuck during npm install, check:
- Node version: Must be Node >= 22
node --version - Try pnpm instead of npm (recommended):
npm install -g pnpm
pnpm install -g clawdbot
3. For AWS/Ubuntu specifically:
# Install Node.js 22+ properly
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
# Then install Clawdbot
curl -fsSL https://clawd.bot/install.sh | bash
4. If stuck on "Wake up my friend" (onboarding):
The onboarding wizard hangs when the Gateway isn't reachable or auth fails:
# Restart gateway
clawdbot gateway restart
# Check status
clawdbot status
clawdbot models status
# Run doctor to diagnose
clawdbot doctor
# Follow logs
clawdbot logs --follow
5. For Claude auth specifically:
If it's stuck authenticating with Anthropic:
- Use an Anthropic API key instead of Claude Code OAuth (more reliable)
- Or generate a setup-token on any machine with Claude CLI:
Then paste that token during onboarding.claude setup-token
Recommended AWS/Ubuntu Setup:
1. Use Ubuntu 22.04 LTS or 24.04 LTS
2. Install Node 22+ (via nodesource)
3. Install pnpm: curl -fsSL https://get.pnpm.io/install.sh | sh -
4. Run: curl -fsSL https://clawd.bot/install.sh | bash
5. Run: clawdbot onboard
If you're still stuck, share the last few lines of output from the verbose install or the logs, and I can help debug further! π¦
seems to be stuck on
Downloading @node-llama-cpp/linux-x64-cuda-ext@3.15.0: 183.81 MB/192.51 MB
im installing using pnpm
Can you share what specific step it's getting stuck on? A few questions to help diagnose:
-
What step does it hang at? (e.g., "Resolving packages", "Building...", "Installing CLI", "Onboarding wizard")
-
Run with verbose to see details:
curl -fsSL https://clawd.bot/install.sh | bash -s -- --verbose
- Check your Node version:
node --version && pnpm --version
- If it's stuck during onboarding (the "Wake up my friend" screen):
clawdbot logs --follow
(Leave that running in a separate terminal and try the install again β it'll show what's happening)
The most common issues on AWS are:
- Node version too old (need 22+)
- Running out of memory (512MB VPS might struggle)
- Network timeout during npm install
What's the last thing you see before it hangs?
Asked for details on where exactly it's getting stuck and suggested running verbose mode to see the failure point. The common culprits on AWS are Node version issues, low memory, or network timeouts during npm install.
Ah, that's the issue! @node-llama-cpp/linux-x64-cuda-ext is a ~192MB binary download and it's timing out.
Quick fixes:
- Try again β it might just be slow on AWS:
pnpm install -g clawdbot
(It should resume from where it left off)
- Increase timeout with npm config:
npm config set fetch-timeout 600000
npm config set fetch-retries 5
pnpm install -g clawdbot
- Use npm instead (sometimes faster):
npm install -g clawdbot --prefer-offline
- Skip llama-cpp entirely if you don't need local models:
Install Clawdbot, then configure it to use Anthropic/OpenAI API keys instead. You can install llama-cpp later when you have better bandwidth.
AWS-specific: AWS egress can be throttled. If you're on a t2.micro/t3.micro, the limited network might be the bottleneck. Try during off-peak hours or from a different network.
What instance size are you using on AWS?
im using 8gb