Common OpenClaw installation errors and how to fix them

OpenClaw installation troubleshooting guide
A recent post on r/openclaw addresses recurring installation and runtime errors for the OpenClaw tool, providing specific commands and fixes.
Key issues and fixes
"installed but openclaw is not discoverable"
This occurs when npm's global bin directory is not in your PATH. The binary exists but cannot be found.
- Run
npm prefix -gto find your global prefix. - Add
<prefix>/binto your$PATHin.bashrcor.zshrc. - Reload your shell, then
openclaw --versionshould work.
"EACCES: permission denied" on install
This is a permissions issue with npm's default global directory, often owned by root.
- Do not use
sudo. - Configure a user-owned prefix instead:
mkdir -p ~/.npm-global npm config set prefix '~/.npm-global' export PATH="$HOME/.npm-global/bin:$PATH" - Add the export to your shell config and re-run the install without sudo.
Old Node.js silent failures
OpenClaw requires Node.js 22+. Older versions may install without error but produce a binary that breaks at runtime.
- Always check
node --versionfirst.
"inappropriate ioctl for device"
This is a TTY issue, common in Docker containers or CI environments without a real terminal.
- Run
openclaw onboard --non-interactive --accept-riskto skip the interactive wizard.
Telegram plugin stuck as "not available"
If a previous broken install left the Telegram plugin in a partially configured state, it can get stuck.
- Run
openclaw doctor --fixto clear the state.
Note on "gateway connect pairing required"
This message is not an installation error. It relates to DM policy, where OpenClaw requires manual pairing before responding to DMs by default. Refer to the OpenClaw documentation on channel configuration.
📖 Read the full source: r/openclaw
👀 See Also

Practical AI Coding Strategies from 1000 Hours of Experience
A Reddit post outlines specific prompting levels and workflow strategies for using AI coding agents effectively, including treating AI as a junior developer, phased implementation, and using instruction files.

SOUL.md rules drift in long AI agent sessions and how to fix it
SOUL.md rules work perfectly for the first 10-15 messages but start drifting around message 20-30 as conversation context overrides the initial system prompt. The solution is to use /new more aggressively to reset sessions before each distinct task.

Fixing OpenClaw Prompt Bloat and Slow Response Loops
Users experiencing long delays since 2026.4.26 can reclaim performance by reducing context bloat: trim always-injected files, limit visible skills, and avoid pasting huge tool outputs in main chat.

Troubleshooting OpenClaw: A Minimalist Reset Method
A Reddit user shares a five-step method to fix unstable OpenClaw setups by removing all skills, switching to Claude Sonnet, clearing sessions, simplifying SOUL.md, and testing with basic commands.