Automic VaultAutomic Vault

brew

Installer zsh avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

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

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install zsh

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install zsh

MacPorts ports tree · shells/zsh/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add zsh

Alpine Linux edge package indexes · zsh · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install zsh

Debian stable package indexes · zsh · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install zsh

Fedora Rawhide package metadata · zsh · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#zsh

nixpkgs package indexes · pkgs/by-name/zs/zsh/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S zsh

Arch Linux sync databases · zsh · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install zsh

openSUSE Tumbleweed package metadata · zsh · Source: download.opensuse.org

aperçu

Résumé du paquet

UNIX shell (command interpreter)

Commandes et alias

  • zsh
  • zsh-5.9

historique

Historique du projet et usages

Zsh is one of the major Unix command interpreters: Bourne-like enough for daily shell work, but famous for interactive features such as programmable completion, spelling correction, glob qualifiers, prompt expansion, modules, line editing, and extensive startup-file control.

Historique du projet

Zsh was originally written by Paul Falstad while he was a Princeton student, and the official FAQ preserves the name origin as 'Z shell' after Yale professor Zhong Shao. The project started around 1990 and entered the public Unix shell ecosystem in the early 1990s as a more featureful interactive shell than sh, csh, and ksh users typically had by default.

The shell matured through the 1990s with mailing-list-driven development, a large manual, and a compatibility stance that mixed Bourne-shell scripting with deliberately non-minimal interactive features. The official documentation still reflects that breadth: shell grammar, parameters, expansion, completion, modules, ZLE widgets, TCP helpers, calendar functions, and many option switches are documented as first-class parts of the system.

The 4.x series established zsh as a stable power-user shell, while the 5.x series modernized a codebase already common on Unix-like systems. The official news page records zsh 5.0.0 in 2012 and zsh 5.9 in 2022, showing a project that is conservative in release cadence but still maintained.

Apple's macOS Catalina changed zsh's public profile. In 2019 Apple documented that the default interactive shell changed from bash to zsh, turning a shell long associated with Unix enthusiasts into the out-of-box shell for new macOS user accounts.

Historique d'adoption

Before the macOS switch, zsh adoption was strongest among Unix developers, sysadmins, and shell customizers who valued completion and prompt control. Frameworks such as Oh My Zsh later made that culture visible by collecting themes, plugins, and conventions around `.zshrc` customization.

After macOS Catalina, zsh became a default shell for a large population of developers using Macs. That did not make every user a zsh power user, but it changed packaging expectations: plugins, completions, prompt themes, history tools, and shell integrations increasingly treated zsh as a baseline target next to bash.

Distribution packaging is broad. The input package facts list zsh across Homebrew, Debian, Ubuntu, Fedora, Arch, openSUSE, MacPorts, Nix, and Alpine-related packages, reflecting its role as infrastructure rather than a niche optional tool.

Modes d'utilisation

Interactive users configure zsh through its startup-file sequence: `.zshenv`, `.zprofile`, `.zshrc`, `.zlogin`, and `.zlogout`. `.zshrc` is the common home for aliases, prompt setup, completion initialization, key bindings, plugin loading, and history behavior.

Developers use zsh as a login shell, an interactive command interpreter, and sometimes a scripting language when zsh-specific expansion, arrays, globbing, or modules are useful. Its completion system is a major practical draw: package managers and CLIs often ship zsh completion definitions because zsh users expect rich argument completion.

The shell is also the substrate for a large plugin ecosystem: prompt frameworks, autosuggestions, syntax highlighting, fuzzy history, directory jumping, and language-toolchain helpers are commonly loaded from `.zshrc`.

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

zsh is package-nerd royalty because it is both a package and a platform for other packages. A package database can list zsh as a command interpreter, but its real ecosystem includes completions, plugins, prompt themes, framework packages, and tools that exist only because zsh's extension points are useful.

It is also a clean example of how defaults change package importance. zsh was already old and respected before macOS Catalina; Apple's default-shell switch made it newly central to developer workstations, Homebrew instructions, dotfile repos, and shell-plugin packaging.

For curation, zsh should be connected not just to shells such as bash, ksh, fish, and tcsh, but also to package-manager completion systems and interactive terminal UX tools.

Chronologie

  • 1990: Paul Falstad begins the shell that becomes zsh.
  • 1990s: zsh develops as a feature-rich Bourne-style Unix shell with programmable completion and ZLE editing.
  • 2009: Oh My Zsh is created, helping popularize plugin-and-theme based zsh customization.
  • 2012-07-24: zsh 5.0.0 is released, according to the official zsh news archive.
  • 2019-10-07: macOS Catalina is released, and Apple documents zsh as the default shell for new user accounts.
  • 2022-05-14: zsh 5.9 is released, according to the official zsh news archive.

Related projects

  • Related projects include bash, ksh, tcsh, fish, Oh My Zsh, Prezto, antigen, zinit, zplug, starship, powerlevel10k, zsh-completions, zsh-autosuggestions, zsh-syntax-highlighting, and zsh-history-substring-search.

posture de sécurité

Niveau de risque : yellow

doc example: shell runtime.

Classificateur de risque

risque yellow · confiance élevé · runtime

Pourquoi

  • doc example: shell runtime

Signaux

  • override:zsh

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.
  • S’installe avec 2 dépendances d’exécution.
  • 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.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.zshenv~/.zprofile~/.zshrc~/.zlogin~/.zlogout

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.zshenv~/.zprofile~/.zshrc~/.zlogin~/.zlogout

exécutables

Exécutables installés

CommandeTypeExpositionNote
zshcliexécutable global
zsh-5.9cliexé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-10
version du gestionnaire5.9.1
gestionnaire mis à jour2026-06-26
données localesOK
amontnot checked
dernière version détectéenon détecté

https://www.zsh.org/

  • infoRelease/tag comparison is only available for GitHub repositories.https://www.zsh.org/confiance none

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:zsh
Version5.9.1
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/zsh
Page d'accueilhttps://www.zsh.org/
Dépôthttps://sourceforge.net/p/zsh/code
Docs amonthttps://zsh.sourceforge.io/Doc
LicenceMIT-Modern-Variant AND GPL-2.0-only AND GPL-2.0-or-later AND ISC
Archive sourcehttps://downloads.sourceforge.net/project/zsh/zsh/5.9.1/zsh-5.9.1.tar.xz
Dernière mise à jour2026-06-26T12:13:30-04:00
Pulseupdated
Dépendancesncurses, pcre2
Dépendances de compilationtexinfo
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 Namezsh
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.

Debian apt95%

zsh 5.9-8+b23

shell with lots of features

https://www.zsh.org/

sudo apt install zsh
  • Section: shells
  • Architecture: amd64
  • Source Package: zsh
  • 5 Dépendances
  • 4 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Zsh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zsh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zsh-common 5.9-8

architecture independent files for Zsh

https://www.zsh.org/

sudo apt install zsh-common
  • Section: shells
  • Architecture: all
  • Source Package: zsh
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Zsh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zsh-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zsh-dev 5.9-8+b23

shell with lots of features (development files)

https://www.zsh.org/

sudo apt install zsh-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: zsh
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Zsh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zsh-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zsh-doc 5.9-8

zsh documentation - info/HTML format

https://www.zsh.org/

sudo apt install zsh-doc
  • Section: doc
  • Architecture: all
  • Source Package: zsh
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Zsh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zsh-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zsh-static 5.9-8+b23

shell with lots of features (static link)

https://www.zsh.org/

sudo apt install zsh-static
  • Section: shells
  • Architecture: amd64
  • Source Package: zsh
  • 1 Dépendances
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Zsh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zsh-static from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

zsh

nix profile install nixpkgs#zsh
  • normalized package name match
  • Correspondance par : Zsh
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/zs/zsh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

zsh 5.9-6ubuntu2

shell with lots of features

https://www.zsh.org/

sudo apt install zsh
  • Section: shells
  • Architecture: amd64
  • 5 Dépendances
  • 4 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Zsh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zsh from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

zsh-common 5.9-6ubuntu2

architecture independent files for Zsh

https://www.zsh.org/

sudo apt install zsh-common
  • Section: shells
  • Architecture: all
  • Source Package: zsh
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Zsh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zsh-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

zsh-dev 5.9-6ubuntu2

shell with lots of features (development files)

https://www.zsh.org/

sudo apt install zsh-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: zsh
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Zsh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zsh-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

zsh-doc 5.9-6ubuntu2

zsh documentation - info/HTML format

https://www.zsh.org/

sudo apt install zsh-doc
  • Section: doc
  • Architecture: all
  • Source Package: zsh
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Zsh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zsh-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

zsh-static 5.9-6ubuntu2

shell with lots of features (static link)

https://www.zsh.org/

sudo apt install zsh-static
  • Section: universe/shells
  • Architecture: amd64
  • Source Package: zsh
  • 1 Dépendances
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Zsh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zsh-static from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

android-tools-zsh-completion 5.9-r7

Zsh completions for android-tools

https://www.zsh.org/

sudo apk add android-tools-zsh-completion
  • License: MIT-Modern-Variant AND GPL-2.0-only
  • Architecture: x86_64
  • Source Package: zsh
  • normalized package name match
  • Correspondance par : Zsh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: android-tools-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

bzr-zsh-completion 5.9-r7

Zsh completions for bzr

https://www.zsh.org/

sudo apk add bzr-zsh-completion
  • License: MIT-Modern-Variant AND GPL-2.0-only
  • Architecture: x86_64
  • Source Package: zsh
  • normalized package name match
  • Correspondance par : Zsh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bzr-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

composer-zsh-completion 5.9-r7

Zsh completions for composer

https://www.zsh.org/

sudo apk add composer-zsh-completion
  • License: MIT-Modern-Variant AND GPL-2.0-only
  • Architecture: x86_64
  • Source Package: zsh
  • normalized package name match
  • Correspondance par : Zsh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: composer-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cvs-zsh-completion 5.9-r7

Zsh completions for cvs

https://www.zsh.org/

sudo apk add cvs-zsh-completion
  • License: MIT-Modern-Variant AND GPL-2.0-only
  • Architecture: x86_64
  • Source Package: zsh
  • normalized package name match
  • Correspondance par : Zsh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cvs-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gcc-zsh-completion 5.9-r7

Zsh completions for gcc

https://www.zsh.org/

sudo apk add gcc-zsh-completion
  • License: MIT-Modern-Variant AND GPL-2.0-only
  • Architecture: x86_64
  • Source Package: zsh
  • normalized package name match
  • Correspondance par : Zsh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gcc-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment