# claude update Command

> It moves Claude Code to the newest version.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** claude update, Update Claude Code

## Think of it like

It is like you get the new copy of a game, with the bugs fixed.

## Definition

claude update moves Claude Code on your computer to the newest version. A native install also does this on its own in the background. So you need it most to update right now, or when the auto updates are off. A session that is open keeps the old version until it restarts, for example with /restart.

## Example

A bug Lucy hit is fixed in today's release. She runs claude update, then starts a new session on the fixed version.

## Example code

```bash
claude update
```

Update to the newest version now.

## Why it matters

New versions bring fixes and new commands. This gets them now rather than whenever the next update runs.

## Common mistake

Expecting an open session to change at once. It keeps running the old version until it restarts.

## Three principles

- **Newest version.** Right now.
- **Native installs.** Also update on their own.
- **Restart to use it.** Open sessions wait.

## Related terms

- [claude install Command](https://learn.benibix.com/term/ai/claude-install-command)
- [/restart Command](https://learn.benibix.com/term/ai/restart-command)
- [/release-notes Command](https://learn.benibix.com/term/ai/release-notes-command)

## Taught in

- [Install, Update and Doctor](https://learn.benibix.com/learn/ai-claude-code-commands/install-update-and-doctor): Claude Code Commands, 2/17

![A line of versions. claude update moves to the newest. claude install can pick latest, stable or one exact version.](https://learn.benibix.com/diagrams/cli-install.svg)

---

Source: https://learn.benibix.com/term/ai/claude-update-command
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
