Automic VaultAutomic Vault

brew

Installer oh-my-posh avec Homebrew, chocolatey, dnf, MacPorts, Nix, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de oh-my-posh pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install oh-my-posh

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install oh-my-posh

MacPorts ports tree · sysutils/oh-my-posh/Portfile · Source: api.github.com

Linux

Fedora dnfvérifié · 92%
sudo dnf install oh-my-posh

Fedora Rawhide package metadata · oh-my-posh · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#oh-my-posh

nixpkgs package indexes · pkgs/by-name/oh/oh-my-posh/package.nix · Source: api.github.com

Windows

Chocolateyvérifié · 92%
choco install oh-my-posh

Chocolatey community package catalog · oh-my-posh · Source: community.chocolatey.org

Scoopvérifié · 92%
scoop install main/oh-my-posh

Scoop official bucket manifest trees · bucket/oh-my-posh.json · Source: api.github.com

Windows Package Managervérifié · 92%
winget install --id JanDeDobbeleer.OhMyPosh -e

Windows Package Manager source index · JanDeDobbeleer.OhMyPosh · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Prompt theme engine for any shell

Commandes et alias

  • oh-my-posh

historique

Historique du projet et usages

Oh My Posh is a cross-platform prompt renderer and theme engine for shells such as PowerShell, Bash, Zsh, Fish, Cmd, and Nushell. It grew out of PowerShell prompt customization into a Go-based, shell-agnostic prompt system with JSON, YAML, or TOML configuration.

Historique du projet

The JanDeDobbeleer/oh-my-posh repository was created on 2019-03-13. Its README says the project started as the offspring of oh-my-posh2 for PowerShell, then became a cross-platform, highly customizable and extensible prompt theme engine after four years of work on oh-my-posh.

The documentation explains the design shift from script-per-theme prompt tools to a single shareable configuration file. Prompt output is assembled from blocks and segments, where segments render context such as the current directory, user information, or Git status.

Historique d'adoption

Oh My Posh's adoption is visible across both source hosting and package managers. GitHub API metadata fetched on 2026-07-01 reported 22,950 stars and 2,749 forks, while Homebrew Formulae reported 61,035 installs in its 365-day analytics window. The input metadata lists Homebrew, Chocolatey, Fedora/dnf, MacPorts, Nix, Scoop, and WinGet packaging.

The project also benefited from the Windows Terminal and PowerShell customization wave. Official installation docs cover Windows via WinGet, manual PowerShell install script, and Chocolatey, macOS via Homebrew and MacPorts, and Linux through separate installation instructions.

Modes d'utilisation

A user installs the oh-my-posh binary, installs a font capable of rendering prompt icons when needed, and adds shell initialization code that evaluates the prompt renderer. Themes can be selected from bundled configurations or customized through blocks, segments, colors, templates, secondary prompts, right prompts, transient prompts, and tooltips.

Developers use Oh My Posh to make repository state, language runtime versions, cloud context, exit status, execution time, and other environment details visible in the prompt. The project competes in the same mental space as Powerline-style themes and Starship, while keeping its own configuration and segment ecosystem.

Pourquoi les passionnés de paquets s'y intéressent

Oh My Posh is interesting to package nerds because it is a single CLI that must integrate with many shells and terminals, while also depending on fonts, glyph rendering, and per-platform installation conventions. Its package metadata spans Windows package managers, Unix package managers, and Go source builds.

Chronologie

  • 2019-03-13: the JanDeDobbeleer/oh-my-posh GitHub repository was created.
  • Version 4: the documentation says existing themes were added to version 4 so users could start without learning all theming internals.
  • 2026-07-01: Homebrew Formulae listed stable version 29.19.1 and GitHub API metadata reported 22,950 stars.

Related projects

  • The README credits influences and adjacent tools including oh-my-posh2, posh-git, oh-my-zsh, powerline-go, and Starship. Its topic metadata includes PowerShell, Bash, Zsh, Fish, Cmd, Nushell, Nerd Fonts, Powerline, Git, and shell prompt tooling.

posture de sécurité

Niveau de risque : yellow

generalized runtime or code generation signal.

Classificateur de risque

risque yellow · confiance moyen · runtime

Pourquoi

  • generalized runtime or code generation signal

Signaux

  • text:shell

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
oh-my-poshcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire29.36.0
gestionnaire mis à jour2026-07-24
données localesOK
amontà jour
dernière version détectéev29.36.0

https://github.com/JanDeDobbeleer/oh-my-posh

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:oh-my-posh
Version29.36.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/oh-my-posh
Page d'accueilhttps://ohmyposh.dev
Dépôthttps://github.com/JanDeDobbeleer/oh-my-posh
Docs amonthttps://ohmyposh.dev/docs
LicenceMIT
Archive sourcehttps://github.com/JanDeDobbeleer/oh-my-posh/archive/refs/tags/v29.36.0.tar.gz
Dernière mise à jour2026-07-24T15:29:27Z
Pulseupdated
Dépendances de compilationgo
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameoh-my-posh
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

oh-my-posh

nix profile install nixpkgs#oh-my-posh
  • normalized package name match
  • Correspondance par : Oh My Posh
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/oh/oh-my-posh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

oh-my-posh 29.9.0-1.fc45

The most customisable and low-latency cross platform/shell prompt renderer

https://github.com/jandedobbeleer/oh-my-posh

sudo dnf install oh-my-posh
  • License: Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (FTL OR GPL-2.0-or-later)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: oh-my-posh
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Oh My Posh
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: oh-my-posh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

oh-my-posh

sudo port install oh-my-posh
  • normalized package name match
  • Correspondance par : Oh My Posh
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/oh-my-posh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

oh-my-posh

choco install oh-my-posh
  • normalized package name match
  • Correspondance par : Oh My Posh
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: oh-my-posh from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','office365homepremium'
Scoop95%

main/oh-my-posh

scoop install main/oh-my-posh
  • normalized package name match
  • Correspondance par : Oh My Posh
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/oh-my-posh.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

JanDeDobbeleer.OhMyPosh

winget install --id JanDeDobbeleer.OhMyPosh -e
  • normalized package name match
  • Correspondance par : Oh My Posh
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: JanDeDobbeleer.OhMyPosh from https://cdn.winget.microsoft.com/cache/source.msix

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment