openclaw - 💡(How to fix) Fix [Bug]: General install [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#72382Fetched 2026-04-27 05:30:38
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
labeled ×2commented ×1

Just trying to install. Used an old Macbook (2015). Got mired in dependencies not met with MacOS. Assumed old Macbook, installed Ubuntu 26.04. First try: ERROR: Node.js v22+ required but could not be activated on PATH. Manually install node.js via apt. Run install script. (On 2/3 Installing) WARN npm install openclaw@latest failed; retrying openclaw@next (On 3/3 Finalizing) WARN PATH missing npm global bin dir Says it installed successfully? Run some commands:

openclaw onboard openclaw: command not found which openclaw <blank> find / openclaw find: 'openclaw': No such file or directory

If it installed, I can't find it.

Error Message

First try: ERROR: Node.js v22+ required but could not be activated on PATH. (On 2/3 Installing) WARN npm install openclaw@latest failed; retrying openclaw@next (On 3/3 Finalizing) WARN PATH missing npm global bin dir

Root Cause

Just trying to install. Used an old Macbook (2015). Got mired in dependencies not met with MacOS. Assumed old Macbook, installed Ubuntu 26.04. First try: ERROR: Node.js v22+ required but could not be activated on PATH. Manually install node.js via apt. Run install script. (On 2/3 Installing) WARN npm install openclaw@latest failed; retrying openclaw@next (On 3/3 Finalizing) WARN PATH missing npm global bin dir Says it installed successfully? Run some commands:

openclaw onboard openclaw: command not found which openclaw <blank> find / openclaw find: 'openclaw': No such file or directory

If it installed, I can't find it.

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

Just trying to install. Used an old Macbook (2015). Got mired in dependencies not met with MacOS. Assumed old Macbook, installed Ubuntu 26.04. First try: ERROR: Node.js v22+ required but could not be activated on PATH. Manually install node.js via apt. Run install script. (On 2/3 Installing) WARN npm install openclaw@latest failed; retrying openclaw@next (On 3/3 Finalizing) WARN PATH missing npm global bin dir Says it installed successfully? Run some commands:

openclaw onboard openclaw: command not found which openclaw <blank> find / openclaw find: 'openclaw': No such file or directory

If it installed, I can't find it.

Steps to reproduce

  1. Install Ubuntu 26.04
  2. in the terminal use the install script.

Expected behavior

Installs and works.

Actual behavior

Says it's successful, but it is not available.

OpenClaw version

@next?

Operating system

Ubuntu 26.04

Install method

curl bash script

Model

n/a

Provider / routing chain

n/a

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The issue is likely due to the npm global bin directory not being in the system's PATH, causing the openclaw command to be unavailable after installation.

Guidance

  • Verify that the npm global bin directory is in the system's PATH by running echo $PATH and checking if the directory where openclaw is installed is included.
  • Check the installation script to ensure it correctly installs openclaw and updates the system's PATH.
  • Try running the command with the full path to the openclaw executable, if it exists, to confirm it's installed but not in the PATH.
  • Consider reinstalling openclaw using npm install -g openclaw to ensure it's installed globally and available in the PATH.

Example

No code example is provided as the issue is related to the installation and PATH configuration.

Notes

The issue may be specific to the Ubuntu 26.04 version or the installation method used. The openclaw version @next might also be a factor.

Recommendation

Apply workaround: try reinstalling openclaw using npm install -g openclaw and verify that the npm global bin directory is in the system's PATH. This should make the openclaw command available.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Installs and works.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING