claude-code·Published 2026.06.01·Views 1
claude install: Roll Back to a Stable Version When Bugs Hit
Here's how to install or reinstall a specific version of Claude Code with the claude install command. It's handy for rolling back to a stable version when
Using Claude Code, you'll occasionally hit a moment of "what worked fine until yesterday suddenly doesn't today?" The cause is often a bug introduced in a new version, and if you could quickly roll back to a proven stable version in such cases, you wouldn't have to stop working. The command in charge of that rollback is claude install.
Definition (What It Is)
claude install [version] is a command that installs or reinstalls a specific version of Claude Code.
Here, a version is a number indicating which "edition" of the program it is. Claude Code gets a new version almost daily, and occasionally a problem slips into a new version. With this command, you can pinpoint and install the version you want, so when trouble arises you can roll back to a version that worked well.
How to Use It (By Difficulty)
Basic — Install the stable version
claude install stable
stable means "stable version." It installs a version that's been sufficiently proven and has almost no problems. If you don't know which version number to pick, using this first is safe.
Applied — Pinpoint and install a specific version
claude install 2.1.118
If you write a version number directly, it installs exactly that version. When you think "it worked fine in that old version," write that number to roll back. The number is an example; in practice, put in the version number you want.
Common Pitfalls
- If you don't know which version number to put in, try
claude install stablefirst. You can return to a stable version without memorizing a number. - After rolling back, auto-update may bump it back up to the latest version. If you want to keep a specific version, it's best not to update carelessly until your important work is done.
Real-World Example
When a newly released version has a bug that blocks your work, running claude install stable to roll back to a stable version lets you continue working right away. The approach is to hold out on the stable version until a fixed new version comes out.
More Ways to Use It
While doing important work with a deadline, it's safe to pin to a proven version. It prevents a new version from coming up mid-work and suddenly changing behavior. Splitting your time between exploring new features and reliably producing deliverables, and pinning the version with claude install for the latter, is a useful strategy.
Wrap-Up
claude install is a command for installing or reinstalling a specific version of Claude Code. Use stable to go to a stable version, or write a version number directly to roll back to the version you want. It's a dependable safeguard that keeps your work from stopping when a new version has trouble.
Reference: Claude Code v2.1.154 (2026.05)
Comments
Comments 0
Checking sign-in status…
Loading comments…