找回密碼
 註冊
搜索
查看: 373|回復: 0

[AlamLinux] 如何安裝 NemoClaw 龍蝦? How to install NemoClaw on Linux

[複製鏈接]
發表於 4 天前 | 顯示全部樓層 |閱讀模式
Push to Facebook
1. 安裝 curl
  1. dnf install curl -y
複製代碼

檢查版本
  1. curl --version
複製代碼


2. 安裝 nodejs 22 and npm 10(NemoClaw 龍蝦最低需求 nodejs 20, npm 10)
  1. dnf update
複製代碼
列出可用的 Node.js 模組流
  1. dnf module list nodejs
複製代碼

啟用並安裝 Node.js 22
  1. dnf module enable nodejs:22 -y
  2. dnf install nodejs -y
複製代碼

安裝npm 10
  1. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
複製代碼
匯入路徑
  1. export NVM_DIR="$HOME/.nvm"
  2. [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
  3. [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
複製代碼
安裝npm 10
  1. nvm install 20
複製代碼



3. 安裝 python
  1. dnf install openssl-devel bzip2-devel libffi-devel
複製代碼
  1. dnf groupinstall "Development Tools"
複製代碼
  1. gcc --version
  2. gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11)
複製代碼

  1. dnf install python39
複製代碼
  1. python3.9 --version
複製代碼


4. 安裝 docker
導​​入Docker官方鏡像來源
RHELCentOSRockyAlmaOracle系統,同宗同源,都是向RHEL系列100%二進位相容的系統。
你就明白100%了,所以我們選擇導入RHEL的來源即可,如下:
  1. dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
複製代碼
安裝Docker全部資源
CXT選擇Docker系列元件全部安裝(全部安裝硬碟空間需求也不是多)

  1. dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-buildx-plugin
複製代碼

啟動Docker,並設定啟動自啟動
  1. systemctl start docker
  2. systemctl enable docker

  3. systemctl status docker
複製代碼

5. 安裝 Nvidia NemoClaw
  1. curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash
複製代碼

NemoClaw,Docker,python,nodejs,curl,nodejs

NemoClaw,Docker,python,nodejs,curl,nodejs

這時會要你輸入助理名稱(龍蝦名稱):如 myclaw

NemoClaw,Docker,python,nodejs,curl,nodejs

NemoClaw,Docker,python,nodejs,curl,nodejs



https://build.nvidia.com/settings/api-keys  拿取API-KEY並貼上
如果沒輸入API-KEY,指令
  1. nemoclaw start
複製代碼
就可再次輸入

NemoClaw,Docker,python,nodejs,curl,nodejs

NemoClaw,Docker,python,nodejs,curl,nodejs



查看指令
  1. nemoclaw
複製代碼
Getting Started:
    nemoclaw onboard                 Configure inference endpoint and credentials
    nemoclaw setup-spark             Set up on DGX Spark (fixes cgroup v2 + Docker)

  Sandbox Management:
    nemoclaw list                    List all sandboxes
    nemoclaw <name> connect          Shell into a running sandbox
    nemoclaw <name> status           Sandbox health + NIM status
    nemoclaw <name> logs [--follow]  Stream sandbox logs
    nemoclaw <name> destroy          Stop NIM + delete sandbox (--yes to skip prompt)

  Policy Presets:
    nemoclaw <name> policy-add       Add a network or filesystem policy preset
    nemoclaw <name> policy-list      List presets (● = applied)

  Deploy:
    nemoclaw deploy <instance>       Deploy to a Brev VM and start services

  Services:
    nemoclaw start                   Start auxiliary services (Telegram, tunnel)
    nemoclaw stop                    Stop all services
    nemoclaw status                  Show sandbox list and service status

  Troubleshooting:
    nemoclaw debug [--quick]         Collect diagnostics for bug reports
    nemoclaw debug --output FILE     Save diagnostics tarball for GitHub issues

  Cleanup:
    nemoclaw uninstall [flags]       Run uninstall.sh (local first, curl fallback)

  Uninstall flags:
    --yes                            Skip the confirmation prompt
    --keep-openshell                 Leave the openshell binary installed
    --delete-models                  Remove NemoClaw-pulled Ollama models

此時NemoClaw 已經安裝完成

連線到龍蝦myclaw
  1. nemoclaw myclaw connect
複製代碼

啟動瀏覽器輸入
  1. http://127.0.0.1:18789/#token=0ecf5f92366c0040ffff94d37aa8569a063b3cb8c61e8a7ec0fb4d9371d61f94
複製代碼

這時他瀏覽器就會秀出畫面
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|小黑屋|TShopping

GMT+8, 2026-3-27 10:32 , Processed in 0.027424 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回復 返回頂部 返回列表