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

Fix for Claude VS Code Extension Error: 'command claude-vscode.editor.openLast not found'
The Claude VS Code extension version 2.1.51 contains a breaking bug that causes the error 'command claude-vscode.editor.openLast not found'. The workaround is to downgrade to version 2.1.49.

Using Claude to analyze writing patterns for better custom instructions
A Reddit user describes a method for creating more effective custom instructions by having Claude analyze 10 writing samples to identify concrete patterns like punctuation avoidance and analogy sources, rather than relying on subjective tone descriptions.

How to Claim and Extend Anthropic API Credits Using Manifest's Router
A Reddit post details steps to claim up to $200 in free Anthropic API credits and configure Manifest's router to automatically route prompts to cheaper models like Haiku for simple tasks, extending credit lifespan from one month to several.

End-to-End LLM Stack Trace: From Keystroke to Streamed Token
A software engineer has created a comprehensive document tracing every layer of the stack when sending a prompt to an LLM, covering client-side token counting, network protocols, API gateways, safety classifiers, tokenization, KV cache, sampling pipeline, and streaming mechanics.