[PR #27] [CLOSED] fix(install): create moltbot symlink alongside clawdbot #32

Closed
opened 2026-02-15 17:17:20 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/openclaw.ai/pull/27
Author: @terry-li-hm
Created: 1/29/2026
Status: Closed

Base: mainHead: fix/moltbot-symlink-after-install


📝 Commits (1)

  • d8f476a fix(install): create moltbot symlink alongside clawdbot

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 public/install.sh (+5 -0)

📄 Description

Problem

After running curl -fsSL https://molt.bot/install.sh | bash, the installer prints:

🦞 Moltbot installed successfully!

But running moltbot onboard fails with:

zsh: command not found: moltbot

Users must discover that the actual command is clawdbot, which contradicts all the branding.

Solution

Create a moltbot symlink alongside clawdbot in ensure_clawdbot_bin_link(), pointing to the same entry.js. This way both commands work.

Why not just rename the npm package?

That's the proper long-term fix, but this 5-line change unblocks users immediately while the full migration is in progress.

Testing

Tested on macOS (Apple Silicon) with fresh install:

# Before: only clawdbot exists
which clawdbot  # /opt/homebrew/bin/clawdbot
which moltbot   # not found

# After: both work
which clawdbot  # /opt/homebrew/bin/clawdbot  
which moltbot   # /opt/homebrew/bin/moltbot
moltbot --version  # 2026.1.24-3

AI Disclosure

  • AI-assisted (Claude Code / Opus 4.5)
  • Lightly tested (manual verification on macOS)
  • I understand what the code does — it's a 5-line symlink addition

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/openclaw.ai/pull/27 **Author:** [@terry-li-hm](https://github.com/terry-li-hm) **Created:** 1/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/moltbot-symlink-after-install` --- ### 📝 Commits (1) - [`d8f476a`](https://github.com/openclaw/openclaw.ai/commit/d8f476a500d239d53f3fbe48197219bd73d56e87) fix(install): create moltbot symlink alongside clawdbot ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `public/install.sh` (+5 -0) </details> ### 📄 Description ## Problem After running `curl -fsSL https://molt.bot/install.sh | bash`, the installer prints: ``` 🦞 Moltbot installed successfully! ``` But running `moltbot onboard` fails with: ``` zsh: command not found: moltbot ``` Users must discover that the actual command is `clawdbot`, which contradicts all the branding. ## Solution Create a `moltbot` symlink alongside `clawdbot` in `ensure_clawdbot_bin_link()`, pointing to the same `entry.js`. This way both commands work. ## Why not just rename the npm package? That's the proper long-term fix, but this 5-line change unblocks users immediately while the full migration is in progress. ## Testing Tested on macOS (Apple Silicon) with fresh install: ```bash # Before: only clawdbot exists which clawdbot # /opt/homebrew/bin/clawdbot which moltbot # not found # After: both work which clawdbot # /opt/homebrew/bin/clawdbot which moltbot # /opt/homebrew/bin/moltbot moltbot --version # 2026.1.24-3 ``` ## AI Disclosure - [x] AI-assisted (Claude Code / Opus 4.5) - [x] Lightly tested (manual verification on macOS) - [x] I understand what the code does — it's a 5-line symlink addition --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:17:20 -05:00
yindo closed this issue 2026-02-15 17:17:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/openclaw.ai#32