clawdbot mac安装实践

  1. 安装 nvm
    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
    重新打开终端,确认:
    nvm --version
  2. 使用 nvm 安装 Node.js(≥ 22)
    nvm install 22
    nvm use 22
    nvm alias default 22
    验证:
    node -v

v22.x.x

二、安装 Clawdbot CLI + Gateway

官方安装脚本(推荐)

curl -fsSL https://clawd.bot/install.sh | bash

验证:

clawdbot --version

三、启动并验证 Gateway

  1. 手动启动(验证用)
    clawdbot gateway --verbose
    另开一个终端:
    clawdbot status
    应看到:
    Gateway │ local · ws://127.0.0.1:18789 · reachable
    成功后,回到原终端按 Ctrl + C 停止。
    ###############
    DS配置
    vi ~/.zshrc
    export DEEPSEEK_API_KEY="sk-b01e460d76724d13affabff830edb856"

或创建 .env 文件

echo "DEEPSEEK_API_KEY=sk-b01e460d76724d13affabff830edb856" >> ~/.clawdbot/.env

source ~/.zshrc

###############

卸载 daemon

ls ~/Library/LaunchAgents | grep -i claw

launchctl unload -w ~/Library/LaunchAgents/

rm ~/Library/LaunchAgents/

卸载 CLI

npm uninstall -g clawdbot

删除配置

rm -rf ~/.clawdbot

cd ~

相关推荐
June bug6 小时前
(Mac)macOS x86_64上onnxruntime==1.24.4 安装失败
macos
ACP广源盛139246256738 小时前
iOS 27 开放 AI 生态@ACP#小型化扩展黄金风口,IX8008全面超越 ASM2806,铸就嵌入式 AI 扩展核心
人工智能·嵌入式硬件·macos·ios·计算机外设·objective-c·cocoa
海的辽阔12 小时前
如何在MAC下安装EcomGpt模型
macos·大模型·ecomgpt
zandy101113 小时前
hermes agent 安装教程 3.0:Win / Mac / Linux 全平台指南
linux·运维·macos
花开·莫之弃13 小时前
Mac安装多版本jdk(jenv)
java·开发语言·macos
June bug17 小时前
(Mac)torch==2.1.2 与 Python 3.12 不兼容+onnxruntime-silicon 不支持 Intel Mac
开发语言·python·macos
码农小北18 小时前
MAC 配置鸿蒙(HarmonyOS) SDK 环境变量完整指南
macos·华为·harmonyos
June bug18 小时前
Intel Mac 搭建AI后端项目环境 三次报错问题汇总+完整解决方案
人工智能·macos
viperrrrrrrrrr718 小时前
语音AI的2026:从“听见声音“到“理解世界“
人工智能·macos·语言模型
初願致夕霞18 小时前
Linux网络编程_数据链路层MAC帧协议与ARP协议
linux·网络·网络协议·macos