mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
31 lines
729 B
Plaintext
31 lines
729 B
Plaintext
---
|
|
id: upgrade
|
|
title: Upgrade
|
|
sidebar_label: ♻️ Upgrade
|
|
---
|
|
|
|
## Manual
|
|
|
|
While you can always follow the upgrade steps listed under the installation section,
|
|
you can also use the `upgrade` command to update Oh My Posh to the latest version.
|
|
|
|
```powershell
|
|
oh-my-posh upgrade
|
|
```
|
|
|
|
## Automatic
|
|
|
|
In case you want to enable auto-upgrades, you need to edit your configuration file.
|
|
If you don't yet have a configuration file, have a look at the [customize page][customize] to get started,
|
|
afterwards you can add the following line to your configuration file:
|
|
|
|
import Config from "@site/src/components/Config.js";
|
|
|
|
<Config
|
|
data={{
|
|
"auto_upgrade": true
|
|
}}
|
|
/>
|
|
|
|
[customize]: /docs/installation/customize#custom-configuration
|