0%

nemoclaw 安裝

 

跟風玩看看, 老黃的東西還是一樣機歪, 難裝複雜 ~ 網路太慢還不給裝, 果然不適合免費仔 LOL

安裝 VBoxLinuxAdditions

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 更新 ubuntu 套件
sudo apt update

# 安裝 vbox 相關套件
sudo apt install build-essential dkms linux-headers-$(uname -r)

# 更新 bashrc
source ~/.bashrc

# 安裝 VBoxLinuxAdditions
sudo sh VBoxLinuxAdditions.run

# 安裝好之後關機
poweroff

安裝 vim 跟 git

1
2
sudo apt install vim
sudo apt install git

docker 安裝

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Add Docker's official GPG key:
sudo apt update
sudo apt install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/ubuntu
Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")
Components: stable
Signed-By: /etc/apt/keyrings/docker.asc
EOF

sudo apt update

sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

# 設定群組
sudo usermod -aG docker ${USER}
su - ${USER}
groups


# sudo systemctl status docker
# sudo systemctl restart docker

nvm 安裝

1
2
3
4
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
source ~/.bashrc
nvm install 22
node -v

安裝 nemoclaw
nemoclaw 文件
nemoclaw github

1
curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash

遇到 Docker is not running. Please start Docker and try again 表示群組沒有設定好

遇到 openshell gateway start fails with "K8s namespace not ready" 表示網路問題, 多試幾次應該就過了
可以參考這裡

遇到 k3s 問題參考這裡 應該是不會遇到

1
2
3
4
5
vim /etc/docker/daemon.json

{
"default-cgroupns-mode": "host"
}

安裝過程會長這樣

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
[1/3] Node.js
──────────────────────────────────────────────────
[INFO] Node.js found: v22.22.1
[INFO] Runtime OK: Node.js v22.22.1, npm 10.9.4

[2/3] NemoClaw CLI
──────────────────────────────────────────────────
[INFO] Installing NemoClaw from GitHub…
✓ Cloning NemoClaw source
✓ Preparing OpenClaw package
✓ Installing NemoClaw dependencies
✓ Building NemoClaw plugin
✓ Linking NemoClaw CLI
[INFO] Verified: nemoclaw is available at /home/marmot/.nvm/versions/node/v22.22.1/bin/nemoclaw

──────────────────────────────────────────────────
[WARN] Your current shell may not have the updated PATH.

To use nemoclaw now, run:

source /home/marmot/.bashrc

Or open a new terminal window.
──────────────────────────────────────────────────


[3/3] Onboarding
──────────────────────────────────────────────────
[INFO] Running nemoclaw onboard…
[INFO] Installer stdin is piped; attaching onboarding to /dev/tty…

NemoClaw Onboarding
===================

[1/7] Preflight checks
──────────────────────────────────────────────────
✓ Docker is running
✓ Container runtime: docker
✓ openshell CLI: openshell 0.0.14
✓ Port 8080 available (OpenShell gateway)
✓ Port 18789 available (NemoClaw dashboard)
ⓘ No GPU detected — will use cloud inference

[2/7] Starting OpenShell gateway
──────────────────────────────────────────────────
Using pinned OpenShell gateway image: ghcr.io/nvidia/openshell/cluster:0.0.14
✓ Checking Docker
✓ Downloading gateway
✓ Initializing environment
✓ Starting gateway
✓ Gateway ready

Name: nemoclaw
Endpoint: https://127.0.0.1:8080

✓ Active gateway set to 'nemoclaw'
✓ Gateway is healthy

[3/7] Creating sandbox
──────────────────────────────────────────────────
Sandbox name (lowercase, numbers, hyphens) [my-assistant]:
Creating sandbox 'my-assistant' (this takes a few minutes on first run)...
Building image openshell/sandbox-from:1774326302 from /tmp/nemoclaw-build-0nO57C/Dockerfile
Built image openshell/sandbox-from:1774326302
Pushing image openshell/sandbox-from:1774326302 into gateway "nemoclaw"
[progress] Exported 1172 MiB
[progress] Uploaded to gateway
Image openshell/sandbox-from:1774326302 is available in the gateway.
Waiting for sandbox to become ready...
✓ Forwarding port 18789 to sandbox my-assistant in the background
Access at: http://127.0.0.1:18789/
Stop with: openshell forward stop 18789 my-assistant
✓ Sandbox 'my-assistant' created

[4/7] Configuring inference (NIM)
──────────────────────────────────────────────────

┌─────────────────────────────────────────────────────────────────┐
│ NVIDIA API Key required │
│ │
│ 1. Go to https://build.nvidia.com/settings/api-keys │
│ 2. Sign in with your NVIDIA account │
│ 3. Click 'Generate API Key' button │
│ 4. Paste the key below (starts with nvapi-) │
└─────────────────────────────────────────────────────────────────┘

NVIDIA API Key: nvapi-yourapikey-xxxxxxxxxxxxxxxxxxxxxxxxxxx

Key saved to ~/.nemoclaw/credentials.json (mode 600)


Cloud models:
1) Nemotron 3 Super 120B (nvidia/nemotron-3-super-120b-a12b)
2) Kimi K2.5 (moonshotai/kimi-k2.5)
3) GLM-5 (z-ai/glm5)
4) MiniMax M2.5 (minimaxai/minimax-m2.5)
5) Qwen3.5 397B A17B (qwen/qwen3.5-397b-a17b)
6) GPT-OSS 120B (openai/gpt-oss-120b)

Choose model [1]:
Using NVIDIA Endpoint API with model: nvidia/nemotron-3-super-120b-a12b

[5/7] Setting up inference provider
──────────────────────────────────────────────────
✓ Created provider nvidia-nim
Gateway inference configured:

Route: inference.local
Provider: nvidia-nim
Model: nvidia/nemotron-3-super-120b-a12b
Version: 1
✓ Inference route set: nvidia-nim / nvidia/nemotron-3-super-120b-a12b

[6/7] Setting up OpenClaw inside sandbox
──────────────────────────────────────────────────
✓ OpenClaw gateway launched inside sandbox

[7/7] Policy presets
──────────────────────────────────────────────────

Available policy presets:
○ discord — Discord API, gateway, and CDN access
○ docker — Docker Hub and NVIDIA container registry access
○ huggingface — Hugging Face Hub, LFS, and Inference API access
○ jira — Jira and Atlassian Cloud access
○ npm — npm and Yarn registry access (suggested)
○ outlook — Microsoft Outlook and Graph API access
○ pypi — Python Package Index (PyPI) access (suggested)
○ slack — Slack API and webhooks access
○ telegram — Telegram Bot API access

Apply suggested presets (pypi, npm)? [Y/n/list]:
✓ Policy version 2 submitted (hash: 474f72d768f0)
✓ Policy version 2 loaded (active version: 2)
Applied preset: pypi
✓ Policy version 3 submitted (hash: 462a3f55b4da)
✓ Policy version 3 loaded (active version: 3)
Applied preset: npm
✓ Policies applied

──────────────────────────────────────────────────
Sandbox my-assistant (Landlock + seccomp + netns)
Model nvidia/nemotron-3-super-120b-a12b (NVIDIA Endpoint API)
NIM not running
──────────────────────────────────────────────────
Next:
Run: nemoclaw my-assistant connect
Status: nemoclaw my-assistant status
Logs: nemoclaw my-assistant logs --follow
──────────────────────────────────────────────────

[INFO] === Installation complete ===

NemoClaw (3484s)

Your OpenClaw Sandbox is live.
Sandbox in, break things, and tell us what you find.

Next:
$ nemoclaw my-assistant connect
sandbox@my-assistant$ openclaw tui

GitHub https://github.com/nvidia/nemoclaw
Docs https://docs.nvidia.com/nemoclaw/latest/

關閉