๐Ÿ†“ Free forever โ€” and licensed to stay that way

Every tool here is open source; its license guarantees the right to use and redistribute it. This mirror is that promise in practice: each package's newest release that is at least 2 months old, served free forever โ€” no account, no authentication.
Security and patch fixes are published immediately. Want every release within hours of upstream? That's the main repository at deb.griffo.io. ๐Ÿš€

๐Ÿ’ฌ Questions, issues or anything about this repo? Join our Discord community โ€” the best place to get help and connect with other users.

๐Ÿ’  Install Latest Oh My Posh on Debian

A prompt theme engine for any shell

Free mirror version: 29.28.0 ยท security fixes immediate
SourceVersion
deb.griffo.io (main)29.31.1 โœ…
Official Debian๐Ÿšซ not packaged
โ† Back to home

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.
๐Ÿ†“ Free forever, patched immediately: Debian and Ubuntu freeze package versions when a release ships; this free mirror instead serves the newest release once it is at least 2 months old, with security fixes published immediately. Want every release within hours instead? That's the main repository at deb.griffo.io.

โšก 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-free.griffo.io

Step 1: Add Repository

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

๐Ÿ“ฆ Recent releases at deb.griffo.io (main)

โ“ Frequently asked questions

Is Oh My Posh in the official Debian repositories?

No โ€” Oh My Posh is not packaged in the official Debian archives. This free mirror serves the newest Oh My Posh release that is at least 2 months old; the main repository at deb.griffo.io serves every release within hours of upstream.

How do I install the latest Oh My Posh on Debian?

Add the deb-free.griffo.io repository once using the instructions above, then run: sudo apt install oh-my-posh. New releases arrive through the normal sudo apt upgrade.

Are the packages signed and how are they built?

Every package is signed with the repository's GPG key (EA0F721D231FDD3A0A17B9AC7808B4DD62C41256) and built from upstream releases in public GitHub packaging repositories that anyone can inspect.

Which Debian releases are supported?

Debian 12 Bookworm, Debian 13 Trixie, Forky and Sid.