I did something similar to get back to 1.0.88 Here’s how to do it step-by-step. See available versions npm view @anthropic-ai/claude-code versions --json That prints a JSON list like: ["1.0.82","1.0.88","2.0.5","2.0.10"] 2. Install (roll back) a specific version Example: npm install -g @anthropic-ai/[email protected] 3. Disable auto-update Append this line to your shell config: Linux (bash): echo 'export DISABLE_AUTOUPDATER=1' >> ~/.bashrc source ~/.bashrc macOS (zsh): echo 'export DISABLE_AUTOUPDATER=1' >> ~/.zshrc source ~/.zshrc macOS (bash): echo 'export DISABLE_AUTOUPDATER=1' >> ~/.bash_profile source ~/.bash_profile 4. Verify claude --version echo $DISABLE_AUTOUPDATER You should see the pinned version (e.g., 1.0.88) and 1 confirming the updater is disabled. Answer from Electronic_Froyo_947 on reddit.com
🌐
Claude
code.claude.com › docs › en › setup
Set up Claude Code - Claude Code Docs
Update process: Downloads and installs ... next time you start Claude Code Disable auto-updates: Set the DISABLE_AUTOUPDATER environment variable in your shell or settings.json file:...
🌐
GitHub
github.com › anthropics › claude-code › issues › 2419
[BUG] Auto-update fails for claude-code on Ubuntu 25.04 · Issue #2419 · anthropics/claude-code
June 21, 2025 - This installation method does not depend on global npm permissions. If auto-updates aren't working, you can force update with: cd ~/.claude/local && npm update @anthropic-ai/claude-code Press Enter to continue…
Published   Jun 21, 2025
🌐
Reddit
reddit.com › r/claudeai › don't forget to update your claude cli! it makes a huge difference
r/ClaudeAI on Reddit: Don't forget to update your Claude CLI! It makes a huge difference
June 11, 2025 -

Hey everyone, just wanted to share a quick tip that saved me a lot of headaches. I was getting super frustrated with my Claude CLI vesion 1.0.0 constantly throwing "Invalid tool argument" errors and getting stuck in loops. Turns out I was running an outdated version.

After updating to the latest version (1.0.18), it's like night and day - feels way smarter and more responsive.

The Anthropic team seems to be pushing fixes and improvements constantly.

So friendly reminder: take a minute to update your CLI.

npm install -g /claude-code@latest

You can check your current version with:

claude --version

Current version is 1.0.18

🌐
Sidetool
sidetool.co › post › mastering-claude-code-insufficient-permissions-fix-auto-updates-2025
Mastering Claude Code's Insufficient Permissions: Fix Auto-Updates 2025
Key steps for troubleshooting ... Start by migrating Claude Code to a user-writable directory, configure npm for user-level installs, audit permissions regularly, and ensure your Node setup avoids root dependencies...
🌐
Reddit
reddit.com › r/claudeai › claude code auto update failed
r/ClaudeAI on Reddit: Claude Code Auto Update Failed
August 28, 2025 -

Anybody got the error where Claude Code says it failed to auto-update? This happened after every morning I woke up. Though I still see the new information when enter "/release-notes", however, the new releases/features are not there in CC.

My work around was to create a script to uninstall and reinstall it again after every the error happens. Although it was only once a day, but it's a pain and using "/doctor" or installing it locally as CC suggests still doesn't solve the issue.

🌐
GitHub
github.com › 0xRaghu › claude-code-updater
GitHub - 0xRaghu/claude-code-updater: Auto-updater wrapper for Claude Code that checks for updates before execution
A command-line tool that automatically manages and updates Claude Code installations with wrapper functionality.
Author   0xRaghu
🌐
GitHub
github.com › anthropics › claude-code › issues › 2671
[BUG] `/doctor` command incorrectly displays "Auto-updates: No" · Issue #2671 · anthropics/claude-code
June 27, 2025 - The tool displays "Auto-updates: No" and recommends running /migrate-installer to enable auto-updates. Claude CLI Diagnostic Currently running: npm-global (1.0.35) Path: /home/ubuntu/.nvm/versions/node/v22.16.0/bin/node Invoked: /home/ubunt...
Published   Jun 27, 2025
Find elsewhere
🌐
Anthropic
docs.anthropic.com › en › docs › claude-code › overview
Claude Code overview - Claude Code Docs
Claude Code automatically keeps itself up to date. See advanced setup for installation options, manual updates, or uninstallation instructions.
🌐
GitHub
github.com › anthropics › claude-code › issues › 3980
[BUG] The `doctor` command suggested `sudo chown -R $USER:$(id -gn) $(npm -g config get prefix)`, but this doesn't resolve anything. · Issue #3980 · anthropics/claude-code
July 19, 2025 - ubuntu@roku-pc:~$ npm install -g @anthropic-ai/[email protected] changed 3 packages in 2s 2 packages are looking for funding run `npm fund` for details ubuntu@roku-pc:~$ claude doctor Claude CLI Diagnostic Currently running: npm-global (1.0.56) Path: /home/ubuntu/.nvm/versions/node/v22.17.0/bin/node Invoked: /home/ubuntu/.nvm/versions/node/v22.17.0/bin/claude Config install method: global Auto-updates enabled: true Update permissions: No (requires sudo) Warning: Insufficient permissions for auto-updates Fix: Run: sudo chown -R $USER:$(id -gn) $(npm -g config get prefix)or use `claude migrate-installer` to migrate to local installation Press Enter to continue…
Published   Jul 19, 2025
🌐
GitHub
github.com › anthropics › claude-code › issues › 114
Allow disabling automatic updates · Issue #114 · anthropics/claude-code
February 26, 2025 - Claude code should allow the user to disable automatic updates if they receive updates via a package manager. Currently claude code asks every time it's opened for permissions to modify the global npm directory.
Published   Feb 26, 2025
🌐
GitHub
github.com › anthropics › claude-code › issues › 5226
[BUG] Auto-update failed error persists after manual update · Issue #5226 · anthropics/claude-code
August 6, 2025 - Description The CLI continuously displays "✗ Auto-update failed · Try claude doctor or npm i -g @anthropic-ai/claude-code" at the bottom of the terminal, even after successfully updating to the latest version. Steps to Reproduce Install/...
Published   Aug 06, 2025
🌐
iTechs Online
itecsonline.com › post › how-to-install-claude-code-on-ubuntu-linux-complete-guide-2025
How to Install Claude Code on Ubuntu Linux: Complete Guide 2025 | ITECS Blog
July 30, 2025 - This comprehensive guide walks you through installing Anthropic's Claude Code AI assistant on Ubuntu Linux. You'll learn how to properly configure Node.js and npm, authenticate with the Anthropic API, and start using this powerful AI coding tool in your development workflow.
🌐
GitHub
github.com › ruvnet › claude-flow › issues › 171
Claude Code auto-update system is broken. Possible ...
July 8, 2025 - Problem: The default installation path directly contradicts the documentation's promise of auto-updates. It provides the latest code but with a non-functional update mechanism, forcing the user to take corrective action immediately. Path 2: The "Alternative" curl Script Installation · This is presented as an "Alpha" method in the documentation. $ curl -fsSL claude.ai/install.sh | bash # Installs an OLDER "stable" version (v1.0.38) $ claude doctor # -> Currently running: native (1.0.38) # -> Auto-updates: Yes
Published   Jul 08, 2025
🌐
npm
npmjs.com › package › @anthropic-ai › claude-code
@anthropic-ai/claude-code - npm
Update your CI/CD workflows to avoid disruption. Learn more.× ... Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows -- all through natural language commands.
      » npm install @anthropic-ai/claude-code
    
Published   Dec 20, 2025
Version   2.0.75
Author   Anthropic
🌐
Stackademic
blog.stackademic.com › when-your-ai-partner-breaks-fixing-claude-codes-auto-update-nightmare-889f1dd82a63
When Your AI Partner Breaks: Fixing Claude Code’s Auto-Update Nightmare | by Toni Maxx | Dec, 2025 | Stackademic
1 week ago - The diagnostic tool will show you exactly what version you’re running and whether auto-updates are even enabled. This step takes 10 seconds but saves you from fixing the wrong problem. The core issue is those temporary directories from failed update attempts. They’re sitting in your npm global packages directory, blocking new updates. ... rm -rf /Users/yourusername/.nvm/versions/node/vXX.XX.X/lib/node_modules/@anthropic-ai/.claude-code-*
🌐
Reddit
reddit.com › r/claudecode › claude code shows "auto-update failed" but everything works fine -> should i worry?
r/ClaudeCode on Reddit: Claude Code shows "Auto-update failed" but everything works fine -> should I worry?
September 1, 2025 -

Hey everyone,

Whenever I launch Claude Code, I see this red message:

✗ Auto-update failed · Try claude doctor or npm i -g u/anthropic-ai/claude-code

Thing is, Claude works perfectly fine for me , no crashes, no issues, everything runs smoothly.

So my question is:

  • Is this something I should fix right away?

  • Or is it safe to just ignore as long as everything is working?

Curious to hear if others see the same thing!