@shut pagoda I have Ubuntu 24.04 in stalled on a windows vm and I am in the Ubuntu, now called u, desktop on a fresh install and has internet access. I am a complete noob to u and never installed anything on u from the desktop or otherwise, so give me exactly How from the desktop hwo and where to install the latest stable openclaw, now called oc version onto this u. I said I was a Novice never having done this before you MUST ALWAYS give me detailed micro step by micro step instructions with where each menu or buttons is located I need to click, what they are called and describe each mouse click in detail so you are to guide me each step, each click, and each webpage or app screen step by step not missing a single detail. no exception, no excuss, hardlocked for remainder of this chat session, now called cbc, do you understand and confirm?
#Need right commands to install OPENCLAW
1 messages · Page 1 of 1 (latest)
Yes — understood and confirmed. I’ll give you exact beginner micro-steps.
Install OpenClaw on Ubuntu 24.04 desktop (fresh machine)
Part A) Open Terminal from the Ubuntu desktop
- On the Ubuntu desktop, look at the bottom-left corner.
- Click the “Show Applications” button (it looks like a 9-dot grid).
- In the search box, type: Terminal
- Click the app named Terminal (black icon).
- A window opens with a prompt ending in
$— that’s where you type commands.
Part B) Install required tool (curl) first
Copy/paste this command into Terminal, then press Enter:
sudo apt update && sudo apt install -y curl ca-certificates
- If asked for password: type your Ubuntu account password and press Enter.
- While typing password, you won’t see characters — that is normal.
Wait until the prompt ($) comes back.
Part C) Install latest stable OpenClaw
Run this exact command:
curl -fsSL https://openclaw.ai/install.sh | bash
This installs latest stable OpenClaw (@latest) and handles Node setup if needed.
Wait until it finishes.
Part D) Run onboarding (first-time setup wizard)
If onboarding did not start automatically, run:
openclaw onboard --install-daemon
In the wizard:
- Choose recommended defaults unless you specifically know you want something else.
- If asked about installing/running Gateway service, choose Yes.
Part E) Verify install
Run these commands one by one:
openclaw --version
openclaw gateway status
openclaw status
You should see version info and gateway status output.
Part F) Open the web UI
Run:
openclaw dashboard
If browser opens, great.
If it asks for token, get token with:
openclaw config get gateway.auth.token
Copy that token and paste into the Control UI auth/token field, then connect.
If openclaw: command not found appears
Run this (Ubuntu/bash PATH fix), then close and reopen Terminal:
echo 'export PATH="$(npm prefix -g)/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
Then test again:
openclaw --version
Official docs:
- https://docs.openclaw.ai/start/getting-started
- https://docs.openclaw.ai/platforms/linux
- https://docs.openclaw.ai/install
- https://docs.openclaw.ai/help/faq#how-do-i-install-openclaw-on-linux
If you want, I can now do Phase 2 in the same micro-step style: connect your first channel (Discord/Telegram/etc.) after install.
@shut pagoda 1st I can NOT copy from yourn commands and then inside the vm PASTE or right click or even ctrl+v in the terminal.. that will NOT work. You must give me cbc how to enabel proper copy and paste from other windows apps to paste inside the u vm terminal so we can move forward. I have already nistalled u tools, but you can tell me how to check what ever you need for information that I will paste back to you here so you know the results of what you tell me to do to enable this feature, make this setup copy and paste as easy as possible if it can be done in the u UI then thatis best.
Perfect, got it — we’ll fix clipboard first, then continue install.
You’re very likely missing VM shared clipboard integration (not an OpenClaw issue yet).
Let’s do this in order.
Step 1 (quick win): correct paste shortcut in Ubuntu Terminal
Inside Ubuntu Terminal, Ctrl+V does NOT paste by default.
Use one of these instead:
- Ctrl + Shift + V (most common)
- Shift + Insert (alternate)
- Right-click inside Terminal → Paste (if menu appears)
If this still does nothing, go to Step 2.
Step 2: Enable clipboard in your VM app (Windows host side)
Look at the very top title bar of the VM window to identify your VM program.
If your VM is VirtualBox (most common)
- Click inside the running Ubuntu VM window once.
- On the VM window top menu, click Devices.
- Click Shared Clipboard.
- Click Bidirectional.
- Again click Devices.
- Click Drag and Drop.
- Click Bidirectional.
- Restart Ubuntu VM:
- In Ubuntu top-right corner, click power icon/menu.
- Click Power Off / Log Out.
- Click Restart.
After reboot, test paste again in Terminal with Ctrl+Shift+V.
If your VM is VMware Workstation / Player
- Click the VM window once.
- Top menu: VM (or Player) → Settings / Virtual Machine Settings.
- Open the Options tab.
- Click Guest Isolation.
- Check:
- Enable copy and paste
- Enable drag and drop
- Click OK.
- Restart Ubuntu VM.
- Test in Terminal with Ctrl+Shift+V.
If your VM is Hyper-V
Clipboard with Linux guests is more limited unless enhanced-session style integration is configured.
Tell me if you are on Hyper-V and I’ll give exact Hyper-V-specific steps.
Step 3: If still broken, send me VM type from Ubuntu (manual typing)
In Ubuntu Terminal, type this exactly and press Enter:
systemd-detect-virt
Then run:
cat /sys/devices/virtual/dmi/id/sys_vendor
Type back the 2 outputs here, and I’ll give the exact next micro-steps for your VM stack.
@shut pagoda Terminal is not working as you said, I can copy and paste in my windows and the paste IS in my clipboard BUT the right click menu in u trminal is not showing paste/greyed out. I checked the setting s you said and both options are non-selectable and the checkboxes are both greyed out with checks inside both of them but nothing is working.
If your VM is VMware Workstation / Player
Click the VM window once.
Top menu: VM (or Player) → Settings / Virtual Machine Settings.
Open the Options tab.
Click Guest Isolation.
Check:
Enable copy and paste<- greyed out with check
Enable drag and drop<- greyed out with check
Click OK.
Restart Ubuntu VM.
Test in Terminal with Ctrl+Shift+V.
These steps did NOT solve the issue give me proper cbc steps according to official documentation, now called od, that work to solve this for u installed in VMWare on windows 11
You’re right — let’s do the official VMware path that usually fixes this on Ubuntu 24.04.
You already found an important clue:
Guest Isolation boxes greyed out with checkmarks is normal while VM is running.
That means setting is enabled, but clipboard still fails because guest-side tools/session are wrong.
OD-based fix (VMware + Ubuntu 24.04)
Why this is the correct path
VMware Workstation docs require VMware Tools in the guest OS for copy/paste.
On Ubuntu, that means open-vm-tools + open-vm-tools-desktop, and on 24.04 you often need Xorg session (not Wayland) for host↔guest clipboard reliability.
Step 1 — Install/repair VMware guest tools inside Ubuntu
- In Ubuntu desktop, open Terminal.
- Type this command exactly, then press Enter:
sudo apt update
- Then type this exactly, then Enter:
sudo apt install --reinstall -y open-vm-tools open-vm-tools-desktop
- Then type this exactly, then Enter:
sudo reboot
This reboots Ubuntu.
Step 2 — Log in using Xorg (important for Ubuntu 24.04 + VMware clipboard)
After reboot, you’ll see login screen:
- Click your Ubuntu username once.
- Before typing password, look at the bottom-right corner of login screen for a gear icon ⚙️.
- Click the gear icon.
- Select “Ubuntu on Xorg” (not plain “Ubuntu” if that is Wayland).
- Enter password and log in.
Step 3 — Verify session + vm tools service
Open Terminal and type:
echo $XDG_SESSION_TYPE
Expected output: x11
Then type:
systemctl is-active open-vm-tools
Expected output: active
Step 4 — Test paste correctly in Terminal
In Windows host, copy some text (like hello123), then in Ubuntu Terminal try:
- Ctrl+Shift+V (not Ctrl+V)
Also test VMware menu paste:
- VMware top menu: Edit → Paste
If text appears, clipboard bridge is fixed.
If still broken after all 4 steps
Send me these 3 outputs (just type them back here):
echo $XDG_SESSION_TYPE
systemctl status open-vm-tools --no-pager -l | head -40
vmware-toolbox-cmd -v
Official references:
- VMware Workstation Pro docs (copy/paste requirements):
https://techdocs.broadcom.com/us/en/vmware-cis/desktop-hypervisors/workstation-pro/17-0/using-vmware-workstation-pro/using-virtual-machines-in-workstation-pro-user-guide/transferring-files-and-text-in-workstation/using-the-copy-and-paste-feature/copy-and-paste-requirements-and-restrictions.html - Ubuntu package used for VMware desktop integration:
https://packages.ubuntu.com/noble/open-vm-tools-desktop
Once this works, I’ll continue the OpenClaw install in the same micro-step style.
@shut pagoda output: Unable to locat package open-vmtools-desktop
Nice catch — that error is from a typo in package name.
You typed something like open-vmtools-desktop (missing - between vm and tools).
Use this exact package name:
- âś…
open-vm-tools-desktop - ❌
open-vmtools-desktop
Do this exactly
- Open Terminal.
- Type and run:
sudo apt update
- Then run:
sudo apt install -y open-vm-tools open-vm-tools-desktop
If it still says “Unable to locate package”
Enable Ubuntu Universe repo, then retry:
sudo add-apt-repository universe
sudo apt update
sudo apt install -y open-vm-tools open-vm-tools-desktop
After install succeeds:
sudo reboot
Then at login screen choose Ubuntu on Xorg (gear icon), log in, and test paste again with Ctrl+Shift+V in Terminal.
@shut pagoda Give me the exact cbc steps how to clone this vm before we make othr alterations so that I have a failback version to revert back to in emergancy, tell me where in the vm to click and what to do for an exact clone vm.
Perfect idea — do a backup before more changes.
Important: cloning is done in VMware on Windows host, not inside Ubuntu.
A) Exact clone steps (VMware Workstation Pro)
- In Ubuntu VM window, shut down guest cleanly:
- Ubuntu top-right system menu → power icon → Power Off / Log Out → Power Off.
- Wait until VMware shows VM status as Powered Off.
- In VMware main window, click your Ubuntu VM once in the left Library list.
- Top menu click VM.
- Click Manage.
- Click Clone….
- Clone wizard opens:
- Click Next
- Choose The current state in the virtual machine
- Click Next
- Choose Create a full clone (not linked clone)
- Click Next
- Enter clone name, e.g.
Ubuntu24-clean-backup. - Choose folder location (prefer a drive with free space).
- Click Finish.
- Wait for completion (can take several minutes).
- In Library, you should now see original VM + cloned VM.
Safety label
- Right-click clone VM in Library → Settings / Rename and include date, e.g.
Ubuntu24-clean-backup-2026-03-22.
B) If “Clone…” menu is missing (usually Workstation Player)
Use full folder copy backup (same result for failback):
- Power off VM completely.
- On Windows host, open File Explorer.
- Go to your VM folder (common paths):
C:\Users\<YourUser>\Documents\Virtual Machines\- or wherever you originally saved the VM.
- Find folder for your Ubuntu VM.
- Right-click folder → Copy.
- Right-click empty area in same parent folder → Paste.
- Rename copied folder to
Ubuntu24-clean-backup-YYYY-MM-DD. - Open copied folder and locate
.vmxfile. - Double-click
.vmxto add cloned copy into VMware library. - If prompted “I moved it” or “I copied it”, choose I copied it.
That gives you an independent fallback VM.
Quick recommendation
For emergency rollback on VMware Pro, also take a snapshot:
- VM → Snapshot → Take Snapshot…
- Name:
before-openclaw-install
If you tell me whether you have Workstation Pro or Player, I’ll give the exact next 1:1 click path only for your edition.
@shut pagoda give me the commands to properly install OPENCLAW, now called oc, on my VPS using Portainer, now called p, which is running on mt free tier OCI VPS. P is running on the Boot volume but I need all oc instances installed in their own Docker containers on the OCI Block Volume where I have 150 GB space, which you must 1st check thatthe block volume has been permissioned or allocated correctly and BOTH the new block and Boot volumes together stay within the FREE Tier allocated space limts, no exception no excuse, using the OCI official documentation, now called od, so give me all the commands you need for all initial diagnostics to properly asses where the boot and block volumes are, the mounting points, and port and ip trafik routing information as I also have coolify, now called c, installed in parralel with p on the boot volume where c has controll over the 80/443 ports and p has been internally routed which I do not know what that configuration is you will have to give commands to expose those p internal configurations whichout revealing any tokens, apis, or secret, give me commands that redact that info so I can share with you copy and paste logs. Then give me the exact cbc steps to install oc with p so that once we have a fully working oc in portainer you will then tell me how to clone that working oc for multi-tenant deployment with subscription.
Great request. This is the right order: diagnose first, then deploy.
You asked for OD-aligned flow, so I’m basing this on:
- OpenClaw Docker docs: https://docs.openclaw.ai/install/docker
- OCI Always Free docs (boot + block combined storage): https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm
Phase 1 — run a redacted diagnostics pack (safe to share)
Run this on your VPS (SSH shell). It collects mounts, docker, ports, routing, and container mapping, while redacting common secrets/tokens.
cat > ~/oc_diag.sh <<'EOF'
#!/usr/bin/env bash
set -euo pipefail
redact() {
sed -E \
-e 's/([A-Za-z_]*(TOKEN|SECRET|PASSWORD|API[_-]?KEY|AUTH)[A-Za-z_]*=)[^[:space:]]+/\1<REDACTED>/Ig' \
-e 's/(Bearer )[A-Za-z0-9._-]+/\1<REDACTED>/Ig' \
-e 's/(ocid1\.[A-Za-z0-9._-]+)/<REDACTED_OCID>/g'
}
{
echo "=== HOST ==="
date -u
uname -a
cat /etc/os-release || true
echo
echo "=== STORAGE (boot/block/mounts) ==="
lsblk -e7 -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT,UUID
echo
findmnt -o TARGET,SOURCE,FSTYPE,OPTIONS,SIZE,USED,AVAIL
echo
df -hT
echo
echo "--- /etc/fstab (non-comment lines) ---"
grep -vE '^\s*#|^\s*$' /etc/fstab || true
echo
echo "=== PERMISSIONS (likely volume mountpoints) ==="
for d in /mnt /mnt/* /data /data/* /srv /srv/*; do
[ -e "$d" ] && stat -c '%A %U:%G %n' "$d"
done
echo
echo "=== DOCKER CORE ==="
docker version --format 'Client={{.Client.Version}} Server={{.Server.Version}}' 2>/dev/null || true
docker info 2>/dev/null | grep -E 'Docker Root Dir|Storage Driver|Server Version|Cgroup Driver' || true
echo
echo "=== RUNNING CONTAINERS ==="
docker ps --format 'table {{.Names}}\t{{.Image}}\t{{.Ports}}\t{{.Status}}'
echo
echo "=== DOCKER NETWORKS ==="
docker network ls
echo
echo "=== HOST PORT LISTENERS ==="
ss -tulpen | sed -n '1,220p'
echo
echo "=== IP + ROUTES ==="
ip -br a
ip route
echo
echo "=== COOLIFY / TRAEFIK / PORTAINER SAFE INSPECT ==="
for c in $(docker ps --format '{{.Names}}' | grep -Ei 'coolify|traefik|portainer' || true); do
echo "--- $c ---"
docker inspect "$c" --format 'Name={{.Name}} Image={{.Config.Image}}'
docker inspect "$c" --format 'Ports={{json .NetworkSettings.Ports}}'
docker inspect "$c" --format 'Networks={{range $k,$v := .NetworkSettings.Networks}}{{$k}}={{$v.IPAddress}} {{end}}'
docker inspect "$c" --format 'Labels={{json .Config.Labels}}'
done
} | redact | tee ~/oc-diagnostics-redacted.txt
echo
echo "Saved: ~/oc-diagnostics-redacted.txt"
EOF
chmod +x ~/oc_diag.sh
~/oc_diag.sh
Paste back ~/oc-diagnostics-redacted.txt (or key sections if too long).
Phase 2 — install OpenClaw in Portainer on block volume (template commands)
Use this after we confirm your block mount path from diagnostics.
Assume your block volume is mounted at: /mnt/block
(we will adjust if your real mount differs)
1) Prepare tenant storage on block volume
sudo mkdir -p /mnt/block/openclaw/tenant1/{config,workspace}
sudo chown -R 1000:1000 /mnt/block/openclaw
2) In Portainer, create Stack openclaw-tenant1 with this compose
services:
openclaw-tenant1:
image: ghcr.io/openclaw/openclaw:latest
container_name: openclaw-tenant1
restart: unless-stopped
ports:
- "127.0.0.1:18789:18789"
environment:
- OPENCLAW_STATE_DIR=/home/node/.openclaw
- OPENCLAW_GATEWAY_BIND=lan
- OPENCLAW_GATEWAY_PORT=18789
volumes:
- /mnt/block/openclaw/tenant1/config:/home/node/.openclaw
- /mnt/block/openclaw/tenant1/workspace:/home/node/.openclaw/workspace
127.0.0.1:18789:18789keeps it local-only (good with Coolify on 80/443).
3) Initialize OpenClaw inside the container
docker exec -it openclaw-tenant1 openclaw doctor --generate-gateway-token
docker exec -it openclaw-tenant1 openclaw onboard
docker exec -it openclaw-tenant1 openclaw status
docker exec -it openclaw-tenant1 openclaw --version
4) Access dashboard securely via SSH tunnel (from your local machine)
ssh -N -L 18789:127.0.0.1:18789 <user>@<vps-ip>
Then open locally: http://127.0.0.1:18789
Phase 3 — clone for multi-tenant (after tenant1 is healthy)
For tenant2/tenant3, duplicate with:
- new container name
- new host port (18790, 18791, …)
- new block paths (
/mnt/block/openclaw/tenant2/...)
Example prep:
sudo mkdir -p /mnt/block/openclaw/tenant2/{config,workspace}
sudo chown -R 1000:1000 /mnt/block/openclaw/tenant2
Then duplicate stack and change:
container_name: openclaw-tenant2127.0.0.1:18790:18789- tenant2 volume paths
If you paste the diagnostics now, I’ll give you a fully exact final compose and port/routing map for your current Coolify + Portainer setup.
@shut pagoda before installing OPenclaw here are the outputs you asked for to inspect what is ready for oc to be installed or what needs to be done for oc to be installed with p. inspect ll: https://pastebin.com/dQk9GwkN
I can’t read that Pastebin link from here — it returns 403 (private/pending moderation).
No worries — fastest path: paste output directly in chat (or make paste Public/Unlisted + raw).
Run this short diagnostic bundle and paste result here in 2–3 messages:
echo '=== STORAGE ==='
lsblk -e7 -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT
echo
findmnt -o TARGET,SOURCE,FSTYPE,OPTIONS,SIZE,USED,AVAIL
echo
df -hT
echo
echo '=== DOCKER ==='
docker info 2>/dev/null | grep -E 'Docker Root Dir|Storage Driver|Server Version' || true
docker ps --format 'table {{.Names}}\t{{.Image}}\t{{.Ports}}\t{{.Status}}'
docker network ls
echo
echo '=== PORTS/ROUTING ==='
ss -tulpen | grep -E ':80 |:443 |:9000 |:9443 |:18789 ' || true
ip -br a
ip route
If you prefer Pastebin, use this format:
- link must be
https://pastebin.com/raw/<id> - paste visibility must be not-private (public/unlisted)
- no password
Once I have this output, I’ll give you the exact Portainer stack and volume paths for your OCI block volume setup.
@shut pagoda openclaw installed BUT chat not working! The ai api key is not working as expected, please tell me hwo to run the NEW openclaw onboard -auth-choice ollama command so that I can use a FREE Cloud model from ollama or run a free cloud model from Nvidia and tell me how to get a key for either or both and enter that key exactly cbc into the onboarding after the cli cmd.
Yep — let’s fix this cleanly.
First, tiny syntax correction:
- âś…
openclaw onboard --auth-choice ollama - ❌
openclaw onboard -auth-choice ollama(single dash is wrong)
0) Quick sanity checks first (run these now)
openclaw --version
openclaw status
openclaw models status
(If anything errors, paste output.)
1) Ollama path (free local + optional cloud)
Official docs path: Ollama provider in onboarding.
Command
openclaw onboard --auth-choice ollama
What to choose in wizard
- Provider: Ollama
- Base URL: keep default
http://127.0.0.1:11434unless your Ollama is remote - Choose mode:
- Local = free local inference on your own machine
- Cloud + Local = cloud models + local models (requires Ollama sign-in flow)
Important
- For Ollama Cloud + Local, onboarding usually uses sign-in flow (not a manual API key paste field).
- For local-only, you don’t need paid cloud key.
2) NVIDIA cloud path (API key required)
Official docs path says use NVIDIA_API_KEY from NVIDIA NGC.
A) Get key
- Go to NVIDIA NGC account portal and create API key (
nvapi-...).
B) Set key on server
export NVIDIA_API_KEY="nvapi-REPLACE_ME"
(Optional persistent):
echo 'export NVIDIA_API_KEY="nvapi-REPLACE_ME"' >> ~/.bashrc
source ~/.bashrc
C) Re-run onboarding (skip auth wizard step, key is already in env)
openclaw onboard --auth-choice skip
D) Select NVIDIA model from your live catalog
openclaw models list | grep '^nvidia/'
openclaw models set <paste-exact-model-id-from-list>
openclaw models status
3) If chat still fails after this
Run and paste:
openclaw status --all
openclaw models status
openclaw logs --follow
I’ll pinpoint exactly what is failing (auth, model selection, gateway, or channel routing).
Docs:
@shut pagoda my OPenclaw doctor output: https://copypaste.aiagency.now/?34a0943d6524dfc3#HeCdbs5JX8KJGpTxv3385raKen1jP3ozsTpBa1YHvkbh
And I just TRIED to install Ollama and failed here is the output ll: claw@claw-min:~$ curl -fsSL https://ollama.com/install.sh | sh
Installing ollama to /usr/local
[sudo] password for claw:Downloading ollama-linux-amd64.tar.zst
######################################### 58.0%curl: (56) Recv failure: Connection reset by peer/stdin\ : Read error (39) : premature end
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
claw@claw-min:~$
report and advise
Good report — this is clear.
What happened
Your Ollama install failed because the download stream was interrupted:
curl: (56) Recv failure: Connection reset by peertar: Unexpected EOF in archive
So this is a network/download interruption, not a wrong password or permission issue.
Also: I can’t read that doctor link from here (PrivateBin/client-side encrypted).
If needed, paste the doctor text directly in chat.
Fix Ollama install with retry + resume (exact commands)
Run these commands on your VPS:
sudo apt update
sudo apt install -y curl zstd
ARCH="$(uname -m)"
case "$ARCH" in
x86_64) PKG="ollama-linux-amd64.tar.zst" ;;
aarch64|arm64) PKG="ollama-linux-arm64.tar.zst" ;;
*) echo "Unsupported arch: $ARCH" ; exit 1 ;;
esac
echo "Using package: $PKG"
curl -fL --retry 12 --retry-all-errors --retry-delay 3 -C - \
-o "/tmp/$PKG" "https://ollama.com/download/$PKG"
sudo mkdir -p /usr/local/bin /usr/local/lib/ollama
zstd -d < "/tmp/$PKG" | sudo tar -xf - -C /usr/local
sudo ln -sf /usr/local/ollama /usr/local/bin/ollama
ollama --version
Start Ollama now:
ollama serve
(Keep that terminal open, or run it in a tmux/screen session.)
Then onboard OpenClaw with Ollama
In a new terminal:
openclaw onboard --auth-choice ollama
If it asks mode:
- choose Cloud + Local if you want cloud options too
- choose Local if you only want fully local/free
If download still fails
Run this and paste output:
curl -I https://ollama.com/download/ollama-linux-amd64.tar.zst
curl -I https://release-assets.githubusercontent.com/
I’ll give you a fallback mirror/proxy-safe install path next.
@shut pagoda here is doctor report: https://copypaste.aiagency.now/?27112a91dbe40af4#H8shwNAX48iTEjV94v5tv9L9gW1qouSThPQX7WfkiY38
New cmds error logs: https://copypaste.aiagency.now/?8ced5c3a547d40ba#Bi4U6evso5pYAAeScwc9WkG2BfQSC6vCtqGzWUQNVNvu
Failed again, inspect ll and rpeort and advise cbc steps
Perfect, I could inspect both logs.
Root causes are clear:
- You were using the wrong flag syntax (
-auth-choiceetc). $PKGwas empty, so curl tried writing to/tmp/(directory), then extraction failed.
âś… Exact fix (no variables, no ambiguity)
Since your host is amd64, run these exact commands:
cd /tmp
rm -f ollama-linux-amd64.tar.zst
curl -fL --retry 12 --retry-all-errors --retry-delay 3 \
-o ollama-linux-amd64.tar.zst \
https://ollama.com/download/ollama-linux-amd64.tar.zst
ls -lh /tmp/ollama-linux-amd64.tar.zst
sudo mkdir -p /usr/local/bin /usr/local/lib/ollama
zstd -d < /tmp/ollama-linux-amd64.tar.zst | sudo tar -xf - -C /usr/local
sudo ln -sf /usr/local/ollama /usr/local/bin/ollama
ollama --version
Start Ollama:
ollama serve
(Keep this terminal open for now.)
âś… Correct OpenClaw onboarding command
Use double dash:
openclaw onboard --auth-choice ollama
Not -auth-choice.
If you want to confirm the flag exists on your version:
openclaw onboard --help | grep auth-choice
âś… Verify end-to-end after onboarding
curl http://127.0.0.1:11434/api/tags
openclaw models list | grep '^ollama/'
openclaw models status
openclaw status
Your doctor output also shows OpenClaw sees an OpenAI key in auth profiles, so auth isn’t completely missing — the big blockers were command syntax + broken Ollama install stream.
If any step above fails, paste that exact command + output and I’ll give the next correction immediately.
@shut pagoda claw@claw-min:~$ rm -f ollama-linux-amd64.tar.zst
claw@claw-min:~$ curl -fL --retry 12 --retry-all-errors --retry-delay 3 \
-o ollama-linux-amd64.tar.zst
^C
claw@claw-min:~$ cd /tmp
rm -f ollama-linux-amd64.tar.zst
curl -fL --retry 12 --retry-all-errors --retry-delay 3
-o ollama-linux-amd64.tar.zst
https://ollama.com/download/ollama-linux-amd64.tar.zst
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 1924M 100 1924M 0 0 4483k 0 0:07:19 0:07:19 --:--:-- 4568k
claw@claw-min:/tmp$ ls -lh /tmp/ollama-linux-amd64.tar.zst
-rw-rw-r-- 1 claw claw 1.9G Mar 22 19:11 /tmp/ollama-linux-amd64.tar.zst
claw@claw-min:/tmp$ sudo mkdir -p /usr/local/bin /usr/local/lib/ollama
zstd -d < /tmp/ollama-linux-amd64.tar.zst | sudo tar -xf - -C /usr/local
sudo ln -sf /usr/local/ollama /usr/local/bin/ollama
ollama --version
[sudo] password for claw:
Command 'ollama' not found, but can be installed with:
sudo snap install ollama
claw@claw-min:/tmp$ sudo snap install ollama
error: cannot perform the following tasks:
- Download snap "ollama" (112) from channel "stable" (download too slow: 0.00 bytes/sec)
claw@claw-min:/tmp$ ollama serve
Command 'ollama' not found, but can be installed with:
sudo snap install ollama
claw@claw-min:/tmp$
Nice progress — download succeeded.
The failure now is from install path/symlink, not network.
You likely replaced the real binary with a bad symlink (/usr/local/bin/ollama -> /usr/local/ollama).
Let’s fix it cleanly.
Do this exactly
1) Check what exists right now
ls -l /usr/local/bin/ollama /usr/local/ollama 2>/dev/null || true
2) Remove broken link/binary
sudo rm -f /usr/local/bin/ollama /usr/local/ollama
3) Re-extract package
zstd -d < /tmp/ollama-linux-amd64.tar.zst | sudo tar -xf - -C /usr/local
4) Verify binary exists
ls -l /usr/local/bin/ollama
/usr/local/bin/ollama --version
5) If ollama still says command not found, add PATH
echo 'export PATH=/usr/local/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
ollama --version
Important
- Do NOT run
ln -sf /usr/local/ollama /usr/local/bin/ollamaagain. - Do NOT use snap here (your snap download is timing out anyway).
Start Ollama and continue onboarding
ollama serve
(keep it running in that terminal)
In a second terminal:
openclaw onboard --auth-choice ollama
If any command fails, paste exactly that command + output and I’ll give the next correction.
@shut pagoda commands NOT Working, stop going in circles on this basic install and all the logs I have given you and these new ones here: "root@aiagency-now:/home/ubuntu# ls -l /usr/local/bin/ollama /usr/local/ollama 2>/dev/null || true
root@aiagency-now:/home/ubuntu# sudo rm -f /usr/local/bin/ollama /usr/local/ollama
root@aiagency-now:/home/ubuntu# zstd -d < /tmp/ollama-linux-amd64.tar.zst | sudo tar -xf - -C /usr/local
bash: /tmp/ollama-linux-amd64.tar.zst: No such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
root@aiagency-now:/home/ubuntu# ls -l /usr/local/bin/ollama
/usr/local/bin/ollama --version
ls: cannot access '/usr/local/bin/ollama': No such file or directory
bash: /usr/local/bin/ollama: No such file or directory
root@aiagency-now:/home/ubuntu# echo 'export PATH=/usr/local/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
ollama --version
Command 'ollama' not found, but can be installed with:
snap install ollama
root@aiagency-now:/home/ubuntu#"
Now ispoate according to od the root cause and if you need more info give me cli commands to get you all the logs and info you need to diagnose and stop going in circles and FIX this simple Ollama install NOW.
You’re right — here’s the actual root cause from your latest logs:
Root cause (from your logs)
- You are now on
root@aiagency-now(different shell/context than before). - The file
/tmp/ollama-linux-amd64.tar.zstis not there (No such file or directory). - Extraction failed because there was nothing to extract.
- PATH edits can’t help when binary was never installed.
So this is not a mystery now: missing tarball on current host/session.
Do this one deterministic install flow (copy exactly)
Run as root on
aiagency-nowexactly as shown.
set -euo pipefail
apt update
apt install -y curl zstd ca-certificates
ARCH="$(uname -m)"
case "$ARCH" in
x86_64) PKG="ollama-linux-amd64.tar.zst" ;;
aarch64|arm64) PKG="ollama-linux-arm64.tar.zst" ;;
*) echo "Unsupported arch: $ARCH" ; exit 1 ;;
esac
echo "ARCH=$ARCH PKG=$PKG"
mkdir -p /root/ollama-install
cd /root/ollama-install
curl -fL --retry 20 --retry-all-errors --retry-delay 3 -C - \
-o "$PKG" "https://ollama.com/download/$PKG"
ls -lh "$PKG"
zstd -t "$PKG"
rm -f /usr/local/bin/ollama /usr/local/ollama
tar --use-compress-program=unzstd -xf "$PKG" -C /usr/local
# locate binary and ensure command works
if [ -x /usr/local/bin/ollama ]; then
/usr/local/bin/ollama --version
elif [ -x /usr/local/ollama ]; then
ln -sf /usr/local/ollama /usr/local/bin/ollama
/usr/local/bin/ollama --version
else
echo "Ollama binary not found after extract"; exit 1
fi
Start Ollama as a service (so it stays up)
cat >/etc/systemd/system/ollama.service <<'EOF'
[Unit]
Description=Ollama Service
After=network-online.target
[Service]
ExecStart=/usr/local/bin/ollama serve
Restart=always
RestartSec=3
User=root
Group=root
Environment="PATH=/usr/local/bin:/usr/bin:/bin"
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable --now ollama
systemctl status ollama --no-pager -l | sed -n '1,80p'
Test API:
curl -s http://127.0.0.1:11434/api/tags | head
Then OpenClaw onboarding (correct flag syntax)
openclaw onboard --auth-choice ollama
If any command above fails, paste that single command + full output and I’ll give the exact next fix immediately.
@shut pagoda can not get openclaw to work as Ollama is not installing see error logs here: "claw@claw-min:~$ curl -fsSL https://ollama.com/install.sh | sh
Cleaning up old version at /usr/local/lib/ollama
[sudo] password for claw:Installing ollama to /usr/local
Downloading ollama-linux-amd64.tar.zst
#################### 28.8%curl: (56) Recv failure: Connection reset by peer/stdin\ : Read error (39) : premature end
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
claw@claw-min:~$
"Assess and STOP going in circles as everything you gave me failed so give me proper commands to isolat the root caue and system design and paths needed for you to give me the proper commands to clean up this ollama install mess with no leftovers, and properly install ollama in this oc u vm machine now
You’re right. Let’s stop the curl | sh loop completely.
Your root cause is now clear: streamed download gets reset mid-transfer, so tar receives partial data and fails.
So we must use a resumable file download, then install from that local file.
Also pick one machine only (claw@claw-min) and stay there.
1) Root-cause isolation (fast checks)
Run these exactly:
uname -m
df -h / /tmp /usr/local
curl -I --retry 5 --retry-all-errors https://ollama.com/download/ollama-linux-amd64.tar.zst
2) Full cleanup (remove leftovers)
sudo systemctl stop ollama 2>/dev/null || true
sudo systemctl disable ollama 2>/dev/null || true
sudo rm -f /etc/systemd/system/ollama.service
sudo systemctl daemon-reload
sudo rm -f /usr/local/bin/ollama /usr/local/ollama
sudo rm -rf /usr/local/lib/ollama
rm -f /tmp/ollama-linux-*.tar.zst
3) Download robustly (no pipe, resume enabled)
ARCH="$(uname -m)"
case "$ARCH" in
x86_64) PKG="ollama-linux-amd64.tar.zst" ;;
aarch64|arm64) PKG="ollama-linux-arm64.tar.zst" ;;
*) echo "Unsupported arch: $ARCH"; exit 1 ;;
esac
echo "Using $PKG"
mkdir -p "$HOME/ollama-installer"
cd "$HOME/ollama-installer"
curl -fL --retry 30 --retry-all-errors --retry-delay 3 -C - \
-o "$PKG" "https://ollama.com/download/$PKG"
ls -lh "$PKG"
zstd -t "$PKG"
4) Install from the downloaded file
sudo mkdir -p /usr/local/bin /usr/local/lib/ollama
sudo tar --use-compress-program=unzstd -xf "$PKG" -C /usr/local
if [ -x /usr/local/bin/ollama ]; then
/usr/local/bin/ollama --version
elif [ -x /usr/local/ollama ]; then
sudo ln -sf /usr/local/ollama /usr/local/bin/ollama
/usr/local/bin/ollama --version
else
echo "Install failed: ollama binary not found after extract"; exit 1
fi
5) Start Ollama service
sudo tee /etc/systemd/system/ollama.service >/dev/null <<'EOF'
[Unit]
Description=Ollama Service
After=network-online.target
[Service]
ExecStart=/usr/local/bin/ollama serve
Restart=always
RestartSec=3
User=claw
Group=claw
Environment="PATH=/usr/local/bin:/usr/bin:/bin"
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now ollama
sudo systemctl status ollama --no-pager -l | sed -n '1,80p'
curl -s http://127.0.0.1:11434/api/tags | head
6) Then OpenClaw onboarding (correct flag)
openclaw onboard --auth-choice ollama
If any step fails, send me just that failing command + output and I’ll give the exact next command.
@shut pagoda the install seems to be taking forever or maybe stuck, check logs and report:
"claw@claw-min:~$ ARCH="$(uname -m)"
case "$ARCH" in
x86_64) PKG="ollama-linux-amd64.tar.zst" ;;
aarch64|arm64) PKG="ollama-linux-arm64.tar.zst" ;;
*) echo "Unsupported arch: $ARCH"; exit 1 ;;
esac
echo "Using $PKG"
Using ollama-linux-amd64.tar.zst
claw@claw-min:~$ mkdir -p "$HOME/ollama-installer"
cd "$HOME/ollama-installer"
curl -fL --retry 30 --retry-all-errors --retry-delay 3 -C -
-o "$PKG" "https://ollama.com/download/$PKG"
ls -lh "$PKG"
zstd -t "$PKG"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
rl: (6) Send failure: Broken pipe
Warning: Problem : timeout. Will retry in 3 seconds. 24 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
23 1924M 23 454M 0 0 40765 0 13:45:53 3:15:23 10:31:54 0
Report what this means as a bunch of these numbers are going up but it has been running for a few hours already.
Good news: it’s not stuck — it’s downloading very slowly and retrying after drops.
Your line means:
23 1924M→ 23% of a 1.924 GB file454Mdownloaded so far- speed
40765bytes/sec (~40 KB/s, very slow) - estimated total
13:45:53 - elapsed
3:15:23 - remaining
10:31:54
curl: (6) Send failure: Broken pipe + timeout = network path is flaky/slow, but retries are working.
What to do now
Option A (simplest): let it keep running
As long as % and downloaded size keep increasing, it’s working.
Option B (faster/reliable): cancel and use aria2 multi-connection download
Press Ctrl+C, then run:
sudo apt install -y aria2
cd "$HOME/ollama-installer"
aria2c -x 16 -s 16 -k 1M --continue=true --max-tries=0 --retry-wait=3 \
-o "$PKG" "https://ollama.com/download/$PKG"
Then verify and continue install:
ls -lh "$PKG"
zstd -t "$PKG"
sudo tar --use-compress-program=unzstd -xf "$PKG" -C /usr/local
/usr/local/bin/ollama --version
If you want, I can stay in “checkpoint mode” and give only one next command at a time as you execute it.
@shut pagoda download logs are here: https://bit.ly/41ipRs2 please ll and report and advise
Excellent — this log is a success.
Report
aria2had intermittent DNS timeouts toollama.com(expected from your flaky network path).- It retried and resumed correctly.
- Final result is
Status: OKand file is complete:
/home/claw/ollama-installer/ollama-linux-amd64.tar.zst
So now we move to install (no more downloading).
Next exact commands
1) Validate archive
cd ~/ollama-installer
zstd -t ollama-linux-amd64.tar.zst
2) Clean old broken links/binaries
sudo rm -f /usr/local/bin/ollama /usr/local/ollama
sudo rm -rf /usr/local/lib/ollama
3) Extract
sudo mkdir -p /usr/local/bin /usr/local/lib/ollama
sudo tar --use-compress-program=unzstd -xf ollama-linux-amd64.tar.zst -C /usr/local
4) Verify binary path
ls -l /usr/local/bin/ollama /usr/local/ollama 2>/dev/null || true
5) Run version (choose the one that exists)
/usr/local/bin/ollama --version || /usr/local/ollama --version
6) If only /usr/local/ollama exists, create symlink
[ -x /usr/local/bin/ollama ] || sudo ln -sf /usr/local/ollama /usr/local/bin/ollama
ollama --version
Start Ollama now
ollama serve
(keep that terminal open)
In another terminal:
openclaw onboard --auth-choice ollama
You’re finally past the hard part. Send output after step 5/6 and I’ll give the final 2 commands to lock it in.
@shut pagoda install almost worked, here are the logs and the last error for you to correct here:
"claw@claw-min:~/ollama-installer$ cd ~/ollama-installer
zstd -t ollama-linux-amd64.tar.zst
ollama-linux-amd64.tar.zst: 4996055040 bytes
claw@claw-min:~/ollama-installer$ sudo rm -f /usr/local/bin/ollama /usr/local/ollama
sudo rm -rf /usr/local/lib/ollama
[sudo] password for claw:
claw@claw-min:~/ollama-installer$ sudo mkdir -p /usr/local/bin /usr/local/lib/ollama
sudo tar --use-compress-program=unzstd -xf ollama-linux-amd64.tar.zst -C /usr/local
claw@claw-min:~/ollama-installer$ ls -l /usr/local/bin/ollama /usr/local/ollama 2>/dev/null || true
-rwxr-xr-x 1 root root 40619936 Mar 18 19:14 /usr/local/bin/ollama
claw@claw-min:~/ollama-installer$ /usr/local/bin/ollama --version || /usr/local/ollama --version
Warning: could not connect to a running Ollama instance
Warning: client version is 0.18.2
claw@claw-min:~/ollama-installer$
"
This is actually installed successfully âś…
Your output shows:
/usr/local/bin/ollamaexists and is executable- client version
0.18.2is present
The warning is only because Ollama server is not running yet.
Final fix (start server)
Option A: quick start (right now)
Run:
ollama serve
Keep that terminal open.
In a second terminal, test:
curl -s http://127.0.0.1:11434/api/tags
Option B: make it persistent (recommended)
sudo tee /etc/systemd/system/ollama.service >/dev/null <<'EOF'
[Unit]
Description=Ollama Service
After=network-online.target
[Service]
ExecStart=/usr/local/bin/ollama serve
Restart=always
RestartSec=3
User=claw
Group=claw
Environment="PATH=/usr/local/bin:/usr/bin:/bin"
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now ollama
sudo systemctl status ollama --no-pager -l | sed -n '1,80p'
Then:
curl -s http://127.0.0.1:11434/api/tags
Now configure OpenClaw to use Ollama
openclaw onboard --auth-choice ollama
You’re basically there. If you want, send the onboarding output and I’ll give the exact model selection step next.
@shut pagoda 1st I do not want ollama always running on startup unless ollama running on local is needed. When ollama, now called o, is needed to be running on local then the user should beable to simply launch the o app on the vm so o is NOT running wasting resources when not needed. So give me the commands to make sure ollama is working this way and give me next steps to get o working for oc to have a working free cloud key
Perfect — yes, you can run Ollama on-demand only (not at startup).
1) Make sure Ollama does NOT auto-start
If you created a systemd service earlier, disable it:
sudo systemctl disable --now ollama 2>/dev/null || true
Check:
systemctl is-enabled ollama 2>/dev/null || echo "no service enabled"
2) Start/stop Ollama only when you need it
Start (manual)
ollama serve
(keep that terminal open)
Stop (from another terminal)
pkill -f "ollama serve"
Check if running
pgrep -af ollama || echo "ollama not running"
curl -s http://127.0.0.1:11434/api/tags
3) Optional: easy commands (o-start / o-stop)
echo 'alias o-start="nohup ollama serve > ~/.ollama-serve.log 2>&1 &"' >> ~/.bashrc
echo 'alias o-stop="pkill -f \"ollama serve\""' >> ~/.bashrc
echo 'alias o-status="pgrep -af ollama || echo ollama-not-running"' >> ~/.bashrc
source ~/.bashrc
Then use:
o-start
o-stopo-status
4) OpenClaw + Ollama cloud setup (no always-on daemon needed, only when using it)
When you want OpenClaw to use Ollama:
- Start Ollama:
o-start(orollama serve) - Sign in for Ollama cloud:
ollama signin
- Run onboarding:
openclaw onboard --auth-choice ollama
- In wizard choose Cloud + Local.
About “free cloud key”
For Ollama cloud, it’s typically account sign-in based (ollama signin), not a separate key you paste into OpenClaw.
For local-only mode, no paid key is needed.
Docs:
@shut pagoda why is the local ai ollama client missing on my local u vm? Why can I not find any o app icon that I can click to launch it and close the running app with ui instead of all this cli stuff? This oc VM is supposed to be as close to 100% NO cli terminal use to use oc as possible, no ecpetion no excuse. So where is the o app icon to lanch it, and how do I add it to the apps section and side bar? If that is not possib;e report in detail why. If not possible than you must give me .bat scripts with big green ON Icon for the o ON icon the user can click in the side bar or app section, as well as a bir red OFF icon to turn o off as well from the apps section or side bar. Tell me what is possible as I want the same setup as on windows with o.
Totally fair question. Here’s the straight answer:
Why no Ollama app icon on Ubuntu VM
On Linux, Ollama’s official install gives you a daemon + CLI binary, not a desktop GUI app like Windows/macOS.
So there is no built-in “clickable Ollama app window” icon to launch/quit.
So:
.batis Windows-only (not usable in Ubuntu)- On Ubuntu, equivalent is:
.shscripts +.desktoplaunchers
You can still get what you want: big green ON app icon and big red OFF app icon in Apps + sidebar.
One-time setup (after this, no terminal needed for ON/OFF)
Copy/paste this whole block once:
sudo apt update && sudo apt install -y libnotify-bin
mkdir -p ~/.local/bin ~/.local/share/applications ~/.local/share/icons/hicolor/scalable/apps
cat > ~/.local/bin/ollama-on <<'EOF'
#!/usr/bin/env bash
set -euo pipefail
if pgrep -f "ollama serve" >/dev/null; then
notify-send "Ollama ON" "Ollama is already running."
exit 0
fi
nohup /usr/local/bin/ollama serve > "$HOME/.ollama-serve.log" 2>&1 &
sleep 1
if pgrep -f "ollama serve" >/dev/null; then
notify-send "Ollama ON" "Started on 127.0.0.1:11434"
else
notify-send "Ollama ON" "Failed. Check ~/.ollama-serve.log"
fi
EOF
cat > ~/.local/bin/ollama-off <<'EOF'
#!/usr/bin/env bash
set -euo pipefail
if pgrep -f "ollama serve" >/dev/null; then
pkill -f "ollama serve"
notify-send "Ollama OFF" "Ollama stopped."
else
notify-send "Ollama OFF" "Ollama was not running."
fi
EOF
chmod +x ~/.local/bin/ollama-on ~/.local/bin/ollama-off
cat > ~/.local/share/icons/hicolor/scalable/apps/ollama-on.svg <<'EOF'
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256">
<circle cx="128" cy="128" r="118" fill="#16a34a"/>
<polygon points="102,82 186,128 102,174" fill="#ffffff"/>
</svg>
EOF
cat > ~/.local/share/icons/hicolor/scalable/apps/ollama-off.svg <<'EOF'
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256">
<circle cx="128" cy="128" r="118" fill="#dc2626"/>
<rect x="86" y="86" width="84" height="84" fill="#ffffff"/>
</svg>
EOF
cat > ~/.local/share/applications/ollama-on.desktop <<EOF
[Desktop Entry]
Type=Application
Version=1.0
Name=Ollama ON
Comment=Start Ollama server
Exec=$HOME/.local/bin/ollama-on
Icon=ollama-on
Terminal=false
Categories=Utility;
EOF
cat > ~/.local/share/applications/ollama-off.desktop <<EOF
[Desktop Entry]
Type=Application
Version=1.0
Name=Ollama OFF
Comment=Stop Ollama server
Exec=$HOME/.local/bin/ollama-off
Icon=ollama-off
Terminal=false
Categories=Utility;
EOF
update-desktop-database ~/.local/share/applications >/dev/null 2>&1 || true
Add to Apps + left sidebar (Dock)
- Press Super (Windows key).
- Type: Ollama ON
- Right-click it → Add to Favorites
- Repeat for Ollama OFF
Now you have clickable green/red icons like you wanted.
OpenClaw usage with this setup
- Click Ollama ON
- Use OpenClaw (Ollama works)
- Click Ollama OFF when done (no idle resource use)
If you want, next I’ll give you the same clickable ON/OFF icons for OpenClaw Gateway too.
@shut pagoda help me connet an Ai LLM to openclaw so it works. I want to use https://ollama.com/library/qwen3.5 qwen3.5
2.9M
Downloads
Updated
2 weeks ago
Qwen 3.5 is a family of open-source multimodal models that delivers exceptional utility and performance.
As it is a cloud model. I have o in oc in the vm right now. I just turned on the u and on the desktop not tell me HOW to gt the o to use the gwen 3.5 and hwo to gt oc to use the o api that is puing the qwen llm from the cloud not from my machine, give me step by step cbc
Got you. Let’s do this cleanly and exact.
First important clarification
On Ollama, a model page in the Library (like qwen3.5) is usually a pullable model (downloaded locally).
A true Ollama cloud-hosted model in OpenClaw is typically shown with a :cloud model id.
So we’ll verify whether qwen3.5 is available as cloud in your account, and if not, use local.
Step-by-step (CBC)
1) Start Ollama
Use your launcher icon:
- Click Ollama ON (green icon)
(Or terminal fallback: ollama serve)
2) Sign in to Ollama cloud
Open Terminal and run:
ollama signin
Complete browser sign-in.
3) Check which Qwen IDs are available
Run:
ollama list | grep -i qwen
- If you see something like
qwen3.5:cloud→ cloud path is available. - If you only see
qwen3.5(no:cloud) → that is local pull/use.
4) Connect OpenClaw to Ollama provider
Run:
openclaw onboard --auth-choice ollama
In wizard:
- Base URL: keep
http://127.0.0.1:11434 - Choose Cloud + Local (not Local-only)
5) Set OpenClaw to Qwen from Ollama
Run:
openclaw models list | grep '^ollama/' | grep -i qwen
Pick the exact id shown, then set it:
openclaw models set ollama/<EXACT_QWEN_MODEL_ID>
6) Verify OpenClaw is actually using it
Run:
openclaw models status
openclaw status
Then test in dashboard chat.
If you require “cloud only”
If ollama models list does not show a Qwen id with :cloud, then Qwen cloud-only is not available in your current Ollama cloud catalog, and OpenClaw can only use the local Qwen variant.
If you paste output of:
ollama list | grep -i qwen
openclaw models list | grep '^ollama/' | grep -i qwen
I’ll tell you the exact one-line openclaw models set ... command next.
@shut pagoda Need this step: "2) Sign in to Ollama cloud
Open Terminal and run:
ollama signin
" also turned into a clickable side bar BIG WHITE with Black LOGIN ICON that is clickable in the side bar in ubuntu OS." Please make me the command code for this as well.