# Powershell Themes [oh-my-posh 官方安裝文件](https://ohmyposh.dev/docs/installation/windows) ## new version 新版本可以直接用 winget 進行安裝 ```shell winget install JanDeDobbeleer.OhMyPosh -s winget ``` ## old version oh-my-posh --init --shell pwsh --config C:\Users\g6994\Documents\WindowsPowerShell\Modules\oh-my-posh\themes\night-owl.omp.json | Invoke-Expression install ```shell Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1')) ``` update ```shell Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1')) ```