# fish mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für fish in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:fish
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install fish
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fish
```

  Evidenz: MacPorts ports tree: shells/fish/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add fish
```

  Evidenz: Alpine Linux edge package indexes: fish from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install fish
```

  Evidenz: Debian stable package indexes: fish from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install fish
```

  Evidenz: Fedora Rawhide package metadata: fish from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#fish
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/fi/fish/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S fish
```

  Evidenz: Arch Linux sync databases: fish from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install fish
```

  Evidenz: openSUSE Tumbleweed package metadata: fish from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:fish
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/fish>
- **Version:** 4.8.1
- **Quellzusammenfassung:** User-friendly command-line shell for UNIX-like operating systems
- **Homepage:** <https://fishshell.com>
- **Repository:** <https://github.com/fish-shell/fish-shell>
- **Upstream-Dokumentation:** <https://fishshell.com>
- **Lizenz:** GPL-2.0-only
- **Quellarchiv:** <https://github.com/fish-shell/fish-shell/releases/download/4.8.1/fish-4.8.1.tar.xz>
- **Zuletzt aktualisiert:** 2026-07-14T03:39:06Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- fish (cli)
- fish_indent (cli)
- fish_key_reader (cli)
- fish (Alias)
- fish_indent (Alias)
- fish_key_reader (Alias)

## Abhängigkeiten

- pcre2

## Build-Abhängigkeiten

- cmake
- rust
- sphinx-doc

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 4.8.1
- Manager aktualisiert: 2026-07-14
- lokale Daten: OK
- Upstream-Repository: https://github.com/fish-shell/fish-shell
- Info: No cached GitHub release or tag data was available.
## Projektgeschichte und Nutzung

fish, the friendly interactive shell, is a Unix command-line shell focused on interactive ergonomics: syntax highlighting, autosuggestions, rich completions, a clean scripting language, and useful defaults without extensive configuration.

### Projektgeschichte

fish grew as an alternative to traditional POSIX-family interactive shells by choosing user experience over strict POSIX compatibility. Official documentation still calls out that fish is not the default shell and that some behavior differs from bash-like shells, which is central to its identity.

The current upstream repository was created on GitHub in 2012, while the release notes preserve a longer line of 2.x, 3.x, and 4.x releases. Version 3.0.0 arrived in December 2018, 3.7.0 in January 2024, and 4.0.0 in February 2025, after a beta in December 2024.

### Adoptionsgeschichte

fish is widely packaged across Unix-like systems. The upstream README documents Homebrew, MacPorts, official installers, Linux packages through openSUSE Build Service and Ubuntu PPAs, WSL, Cygwin, and MSYS2; the Homebrew input also records packages for apk, Debian, Fedora, Nix, pacman, Ubuntu, and zypper.

### Wie es verwendet wird

Users commonly install fish alongside their system shell, run `fish` from an existing shell to try it, then make it their login shell if the syntax and interactive model fit. Configuration centers on `config.fish`, functions, completions, universal variables, and prompt/theme customization.

### Warum Paket-Nerds sich dafür interessieren

fish matters in package-manager culture because it is both an application and a shell integration target. Packages often ship fish completions, prompts and plugin managers target its function/completion layout, and distributors track changes such as fish 4.x moving more implementation and packaging work into Rust/Cargo-era build requirements.

### Zeitleiste

- 2012: Current GitHub repository created.
- 2018: fish 3.0.0 released.
- 2024: fish 3.7.0 released.
- 2025: fish 4.0.0 released.
- 2026: fish 4.8.0 released.

### Related projects

- Related projects include bash, zsh, POSIX sh, shell completion packages, prompt frameworks, fish-lsp, and editor integrations for fish scripts.

### Quellen

- <https://fishshell.com/>
- <https://fishshell.com/docs/current/>
- <https://fishshell.com/docs/current/relnotes.html>
- <https://github.com/fish-shell/fish-shell>
- <https://github.com/fish-shell/fish-shell/releases>


## Sicherheitshinweise

generalized runtime or code generation signal.

- **Geiger-Risiko:** yellow / mittel
- generalized runtime or code generation signal


## 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

- Unix: $XDG_CONFIG_HOME/fish/config.fish, ~/.config/fish/config.fish
## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fish
- **Aliases:** fishfish
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Andere Paketmanager-Einträge

- Debian apt - fish - 4.0.2-1: normalized package name match | Debian stable package indexes: fish from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | friendly interactive shell | http://fishshell.com/
- Debian apt - fish-common - 4.0.2-1: normalized package name match | Debian stable package indexes: fish-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | friendly interactive shell (architecture-independent files) | http://fishshell.com/
- Nix - fish: normalized package name match | nixpkgs package indexes: pkgs/by-name/fi/fish/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fish - 3.7.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: fish from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | friendly interactive shell | http://fishshell.com/
- Ubuntu apt - fish-common - 3.7.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: fish-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | friendly interactive shell (architecture-independent files) | http://fishshell.com/
- apk - fish - 4.8.1-r0: normalized package name match | Alpine Linux edge package indexes: fish from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Modern interactive commandline shell | https://fishshell.com/
- apk - fish-dev - 4.8.1-r0: normalized package name match | Alpine Linux edge package indexes: fish-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Modern interactive commandline shell (development files) | https://fishshell.com/
- apk - fish-doc - 4.8.1-r0: normalized package name match | Alpine Linux edge package indexes: fish-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Modern interactive commandline shell (documentation) | https://fishshell.com/
- dnf - fish - 4.6.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: fish from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Friendly interactive shell | https://fishshell.com
- pacman - fish - 4.8.1-1: normalized package name match | Arch Linux sync databases: fish from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Smart and user friendly shell intended mostly for interactive use | https://fishshell.com/
- zypper - fish - 4.8.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: fish from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The "friendly interactive shell" | https://fishshell.com/
- zypper - fish-devel - 4.8.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: fish-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Devel files for the fish shell | https://fishshell.com/
- MacPorts - fish: normalized package name match | MacPorts ports tree: shells/fish/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Secret-risk packages](https://pkg.so/de/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [pcre2](https://pkg.so/de/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/de/brew/cmake/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/de/brew/rust/) - Build dependency declared by Homebrew.
- [sphinx-doc](https://pkg.so/de/brew/sphinx-doc/) - Build dependency declared by Homebrew.
- [virtualfish](https://pkg.so/de/brew/virtualfish/) - Popular package that depends on this formula.
- [shc](https://pkg.so/de/brew/shc/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, unix.
- [bar](https://pkg.so/de/brew/bar/) - Shares pkgdb curated category or tags: cli, developer-tools, scripting, shell, unix.
- [shellcheck](https://pkg.so/de/brew/shellcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [zsh](https://pkg.so/de/brew/zsh/) - Shares pkgdb curated category or tags: cli, developer-tools, scripting, shell, unix.
- [powershell](https://pkg.so/de/brew/powershell/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [parallel](https://pkg.so/de/brew/parallel/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [shfmt](https://pkg.so/de/brew/shfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [sheldon](https://pkg.so/de/brew/sheldon/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [fizsh](https://pkg.so/de/brew/fizsh/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, fish, like.

## Combined YAML source

View the package source record on GitHub. [combined/fish.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fish.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
