Windows
Cette page a été traduite par PageTurner AI (bêta). Non approuvée officiellement par le projet. Vous avez trouvé une erreur ? Signaler un problème →
Configurer votre terminal
Bien qu'Oh My Posh fonctionne sur le terminal standard, nous recommandons d'utiliser le Windows Terminal.
Pour afficher toutes les icônes, nous recommandons d'utiliser une Nerd Font.
Lorsque vous utilisez oh-my-posh dans le WSL, assurez-vous de suivre le guide d'installation pour Linux.
Installation
- winget
- manual
- chocolatey
Open a PowerShell prompt and run the following command:
winget install JanDeDobbeleer.OhMyPosh --source winget
Open a PowerShell prompt and run the following command:
Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1'))
The chocolatey package is maintained by the community and might not be up to date. In case of issues, please contact the maintainer.
Open a PowerShell prompt and run the following command:
choco install oh-my-posh
Cette page a été traduite par PageTurner AI (bêta). Non approuvée officiellement par le projet. Vous avez trouvé une erreur ? Signaler un problème →
Prochaines étapes
Maintenant qu'Oh My Posh est installé, vous pouvez configurer votre terminal et votre shell pour obtenir une invite de commande correspondant exactement à vos préférences.
-
installer une police
-
configurer votre terminal/éditeur pour utiliser la police installée
-
configurer votre shell pour utiliser Oh My Posh
-
(facultatif) configurer un thème ou une configuration personnalisée de l'invite
Mise à jour
- winget
- manual
- chocolatey
Open a PowerShell prompt and run the following command:
winget upgrade JanDeDobbeleer.OhMyPosh --source winget
Open a PowerShell prompt and run the following command:
Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1'))
The chocolatey package is maintained by the community and might not be up to date. In case of issues, please contact the maintainer.
Open a PowerShell prompt and run the following command:
choco upgrade oh-my-posh