talira

Oh My Posh

The most customizable and fastest prompt engine for any shell

open sourceMITfree

Oh My Posh renders a customizable shell prompt from one config that works in PowerShell, Bash, Zsh, Fish, Nu, cmd, Elvish, Xonsh and Yash, on Windows, macOS, Linux, WSL, in containers and over SSH. It is written in Go: its 123 segments (Git status, cloud context, language versions, system metrics and more) run concurrently and cache what they find, so a prompt renders in milliseconds, and a template language composes them. It ships with themes. Jan De Dobbeleer and contributors make it, funded by GitHub Sponsors.

Ways to install

Package managers

Problems it solves

  • show my git branch and status in my shell prompt
  • use the same prompt in PowerShell on Windows and zsh on my Mac
  • make my terminal prompt show the current Kubernetes context and cloud account
  • a fast customizable shell prompt that does not slow down my terminal

Features

  • one config for PowerShell, Bash, Zsh, Fish, Nu, cmd, Elvish, Xonsh and Yash
  • Windows, macOS, Linux, WSL, containers and SSH
  • 123 segments, including Git status, cloud context and language versions
  • segments run concurrently with caching
  • template language for composing segments
  • themes

Alternatives

The same job

These do what Oh My Posh does.

  1. Starship The minimal, blazing-fast, and infinitely customizable prompt for any shell!
  2. Oh My Zsh Community framework for managing your Zsh configuration, with 300+ plugins and 140+ themes
  3. Powerlevel10k Fast, highly customizable prompt theme for Zsh

Compare Oh My Posh with the top 3