<p>I think this console command should do what you want:</p>
<p><code>./craft update/update craft:3.7.2</code></p>
<p>The docs for the update command are <a href="https://craftcms.com/docs/3.x/console-commands.html#update" rel="nofollow noreferrer">here</a>, if you want to pass in further options or update plugins at the same time.</p>

CC BY-SA 4.0
2021-08-12T22:25:06.373Z
Thank you, Martin!
Roi Agneta
CC BY-SA 4.0
2021-08-12T07:11:57.817Z
2021-08-12T07:11:57.817Z
Martin Spain
<p>I know you can update to a specific release using the CLI, but I can not remember how to specify the version number in the update command!</p>
<p>Thanks for any help.</p>

<manual-updates><cli>
Update Craft to a specific release from the CLI
# Update Craft to a specific release from the CLI

(Asked by: username_0 on 2021-08-11)

I know you can update to a specific release using the CLI, but I can not remember how to specify the version number in the update command!

Thanks for any help.

**Tags:** manual-updates, cli


---

## 1 answers

### Answer by username_1 on 2021-08-12. Score: 2 | Accepted answer

I think this console command should do what you want:

`./craft update/update craft:3.7.2`

The docs for the update command are [here](https://craftcms.com/docs/3.x/console-commands.html#update), if you want to pass in further options or update plugins at the same time.

> **Comments:**
> **username_0**: Thank you, Martin!  

---

