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

Visual Guide to Claude Code's 27 Hooks Lifecycle
A community-created resource provides a visual and audio walkthrough of all 27 Claude Code hooks, showing when each fires, their order, and what data they receive. The project was built entirely using Claude Code itself.

Export ChatGPT history to OpenClaw memory system
A Reddit user shares a process to export years of ChatGPT conversation history and import it into OpenClaw's memory system using the ai-chat-md-export tool, enabling local AI agents to access historical context.

OpenClaw v2.0 Update: Critical Pre-Update Checklist to Avoid Breaking Changes
OpenClaw's latest update introduces 12 breaking changes, a new plugin system, and 30+ security patches. This guide outlines five essential checks to perform before updating, including environment variable renaming, state directory migration, and browser automation reconfiguration.

Optimizing OpenClaw Setup: Practical Patterns and Insights
OpenClaw users share effective setup patterns, such as using cron for scheduled tasks and creating specialized sub-agents, to enhance functionality and cost-efficiency.