Oh My Posh

If you’re a Windows user and looking for a way to customize your PowerShell prompt, then Oh My Posh might be just what you need. Oh My Posh is an open-source, community-driven framework for managing your PowerShell prompt configuration. In this tutorial, we will go through the steps to install and configure Oh My Posh. Prerequisites Windows 10 or above PowerShell 5 or above .NET Framework 4.7.2 or above Git Installation Open PowerShell with administrative privileges. Run the following command to install the required modules: Close the PowerShell window. Configuration Open PowerShell with administrative privileges. Run the following command to open your PowerShell profile in Notepad: Install-Module posh-git -Scope CurrentUser Install-Module oh-my-posh -Scope CurrentUser Close the PowerShell window. Configuration Open PowerShell with administrative privileges. ...

March 17, 2023 · 2 min · Hao Chen