oh-my-posh/website/docs/installation/upgrade.mdx
Jan De Dobbeleer cb2dd07b19
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
docs: add upgrade section
resolves #5452
2024-09-08 11:28:40 +02:00

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