๐Ÿ“ฃ Important update โ€” access is changing on 1 October 2026

Starting 1 October 2026 at noon (UK time), this mirror will require authentication to keep apt working.
A yearly subscription gives you uninterrupted access and directly supports keeping this project alive. Thank you! ๐Ÿ™

๐Ÿ”‘ Get Your Yearly Subscription

๐Ÿ’ฌ Questions, issues or anything about this repo? Join our Discord community โ€” the best place to get help and connect with other users.
โ˜• Previously supported via Buy Me a Coffee? You are wonderful! Head over to our Discord and we will sort out a free lifetime subscription for you. ๐Ÿ’œ

๐Ÿ’  Install Latest Oh My Posh on Ubuntu

A prompt theme engine for any shell

Latest version: 29.28.0 ยท updated 2026-07-14
โ† Back to home
๐Ÿ“Œ Installing on a specific release? Ubuntu 22.04 (jammy) ยท Ubuntu 24.04 (noble) ยท Ubuntu 25.10 (questing) ยท Ubuntu 26.04 (resolute)

What is Oh My Posh?

Oh My Posh is a prompt theme engine for any shell, created by Jan De Dobbeleer and written in Go. One engine, one theme format โ€” the same beautiful, information-rich prompt in bash, zsh, fish, PowerShell, Nushell, elvish, xonsh and cmd. With tens of thousands of GitHub stars and a huge theme ecosystem, it has become the go-to way to get a consistent prompt across every machine and shell you use.

๐Ÿ˜ค Prompt Pain Points: Hand-rolling PS1 escape codes? Married to a prompt framework that only works in one shell? Rebuilding your prompt from scratch every time you switch between zsh at home and bash on servers? Oh My Posh gives you one configuration that follows you everywhere.
๐Ÿš€ Always ahead of the official archives: Debian and Ubuntu freeze package versions when a release ships โ€” this repository publishes new upstream releases typically within hours. A simple apt upgrade keeps you on the latest version.

โšก Key Features of Oh My Posh

๐Ÿš Any Shell, One Config

Identical prompt in bash, zsh, fish, PowerShell, Nushell, elvish, xonsh and cmd. Configure once, use everywhere โ€” including over SSH.

๐ŸŽจ 125+ Themes Included

This package ships every built-in theme to /usr/share/oh-my-posh/themes/ โ€” ready to preview and use offline, no extra downloads.

๐Ÿงฉ Rich Segments

Git status, exit codes, execution time, battery, kubernetes context, cloud accounts, and language versions (Go, Python, Node, Rust and dozens more) โ€” shown only when relevant.

๐Ÿ“ Your Theme, Your Format

Write custom themes in JSON, YAML or TOML with a documented schema. Start from any built-in theme and make it yours.

โœจ Transient & Tooltips

Transient prompts keep scrollback clean, tooltips react to what you type, and right-aligned segments make use of the full terminal width.

โšก Fast by Design

A single Go binary with concurrent segment rendering โ€” the prompt stays instant even with many segments enabled.

๐Ÿ† Why install it with apt?

  • No curl-pipe-bash: a GPG-signed repository instead of piping installer scripts into your shell
  • Themes included: all built-in themes land in /usr/share/oh-my-posh/themes/, version-matched to the binary
  • Automatic updates: new upstream releases arrive with your normal apt upgrade
  • Clean removal: apt remove takes everything with it โ€” no stray binaries in ~/bin
  • Multi-arch: amd64, arm64 and armhf โ€” the same setup on your desktop and your Raspberry Pi

๐Ÿ“ฆ Installation from deb.griffo.io

Step 1: Add Repository

sudo install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null sudo apt update
install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null apt update

Step 2: Install Oh My Posh

sudo apt install -y oh-my-posh
apt install -y oh-my-posh

๐Ÿš€ Set up your shell

Pick a theme from /usr/share/oh-my-posh/themes/ and initialize your shell. For bash, add this to ~/.bashrc:

eval "$(oh-my-posh init bash --config /usr/share/oh-my-posh/themes/jandedobbeleer.omp.json)"

For zsh, add the same line with zsh to ~/.zshrc; for fish, add oh-my-posh init fish --config /usr/share/oh-my-posh/themes/jandedobbeleer.omp.json | source to ~/.config/fish/config.fish. Most themes look best with a Nerd Font โ€” or run oh-my-posh font install.

๐Ÿ“ฆ Package Build Repository

The Ubuntu packages are automatically built and maintained in this GitHub repository:

๐Ÿ”— Related Packages

Also available from deb.griffo.io:

๐ŸŽฏ Perfect for: Developers who work across multiple shells and machines, terminal customization enthusiasts, anyone who wants git status and context at a glance, and teams that want a consistent prompt setup that installs with one apt command.

๐Ÿ’ Support This Project

If this repository saves you time and effort, please consider supporting it!

โญ Star on GitHub ๐Ÿฆ Share on Twitter