Windows
Deze pagina is vertaald door PageTurner AI (beta). Niet officieel goedgekeurd door het project. Een fout gevonden? Probleem melden →
Je terminal instellen
Hoewel Oh My Posh werkt in de standaard terminal, raden we aan om Windows Terminal te gebruiken.
Voor het weergeven van alle pictogrammen raden we het gebruik van een Nerd Font aan.
Wanneer je oh-my-posh binnen WSL gebruikt, volg dan de Linux installatiehandleiding.
Installatie
- 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
Deze pagina is vertaald door PageTurner AI (beta). Niet officieel goedgekeurd door het project. Een fout gevonden? Probleem melden →
Volgende
Nu Oh My Posh is geïnstalleerd, kun je verdergaan met het configureren van je terminal en shell om de prompt precies zo te laten uitzien als jij wilt.
-
installeer een lettertype
-
configureer je terminal/editor om het geïnstalleerde lettertype te gebruiken
-
configureer je shell om Oh My Posh te gebruiken
-
(optioneel) configureer een thema of aangepaste promptconfiguratie
Bijwerken
- 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