# Install starship with Homebrew, apk, chocolatey, apt, MacPorts, Nix, pacman, scoop, winget, zypper

Cross-shell prompt for astronauts. Version 1.26.0 via Homebrew; verified 2026-06-28.

## Install

```sh
sudo av install brew:starship
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install starship
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install starship
```

  Evidence: MacPorts ports tree: sysutils/starship/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add starship
```

  Evidence: Alpine Linux edge package indexes: starship from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install starship
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#starship
```

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

- pacman (92%):

```sh
sudo pacman -S starship
```

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

- zypper (92%):

```sh
sudo zypper install starship
```

  Evidence: openSUSE Tumbleweed package metadata: starship from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install starship
```

  Evidence: Chocolatey community package catalog: starship from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','sql2008r2.cmdline'

- Scoop (92%):

```sh
scoop install main/starship
```

  Evidence: Scoop official bucket manifest trees: bucket/starship.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Starship.Starship -e
```

  Evidence: Windows Package Manager source index: Starship.Starship from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:starship
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/starship>
- **Version:** 1.26.0
- **Source summary:** Cross-shell prompt for astronauts
- **Homepage:** <https://starship.rs/>
- **Repository:** <https://github.com/starship/starship>
- **Upstream docs:** <https://starship.rs/config>
- **License:** ISC
- **Source archive:** <https://github.com/starship/starship/archive/refs/tags/v1.26.0.tar.gz>
- **Last updated:** 2026-06-28T18:44:05Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- starship (cli)
- starship (alias)

## Build dependencies

- cmake
- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.26.0
- Package-manager updated: 2026-06-28
- Local data: ok
- Upstream repository: https://github.com/starship/starship
- Upstream latest detected: v1.26.0 (current)
## Project history and usage

Starship is a Rust-powered, cross-shell prompt that packages a feature-rich terminal prompt as one binary and one TOML configuration file.

### Project history

The official README and website present Starship as a minimal, fast, customizable prompt for any shell. The repository copyright begins in 2019, and the README lists prior prompt projects such as spaceship-prompt, robbyrussell-node, and silver as inspirations.

The project grew around cross-shell portability: the guide documents setup for Bash, Fish, Zsh, PowerShell, Cmd through Clink, Elvish, Ion, Nushell, Tcsh, and Xonsh.

### Adoption history

Starship became a package-manager-friendly terminal customization tool because it ships as a standalone binary and documents installation through many package managers. The official guide lists Homebrew, crates.io, conda-forge, Linux distribution packages, MacPorts, Chocolatey, Scoop, and winget among supported installation routes.

The GitHub repository page shows large community adoption, with tens of thousands of stars and more than a hundred releases by 2026.

### How it is used

Users install the binary, add `starship init` to their shell startup file, and optionally customize `~/.config/starship.toml`. Starship then renders context-aware modules for directories, VCS state, language runtimes, cloud tools, containers, command duration, jobs, battery state, and other terminal context.

The FAQ describes the binary as stateless and shell agnostic, which explains why one package can support many shells without each shell needing a separate prompt framework.

### Why package nerds care

Starship is one of the clearest examples of modern terminal tooling becoming a package-manager object: a Rust binary, shell integrations, generated completions, and a documented TOML config instead of a shell-specific theme bundle.

It matters to package nerds because it competes with shell-native prompt frameworks while fitting cleanly into Homebrew, distro packages, Cargo, Scoop, winget, and similar distribution channels.

### Timeline

- 2019: Repository copyright begins and Starship emerges as a cross-shell prompt project.
- 2021: GitHub discussions show users sharing and refining prompt configurations.
- 2026: GitHub repository page lists v1.26.0 as the latest release on June 28, 2026.

### Related projects

- The README names spaceship-prompt, robbyrussell-node, and silver as inspirations.
- Starship is related to shell ecosystems including Bash, Zsh, Fish, PowerShell, Nushell, and Xonsh, and to Nerd Fonts because many prompt symbols depend on patched fonts.

### Sources

- <https://github.com/starship/starship#readme>
- <https://starship.rs/config/>
- <https://starship.rs/faq/>
- <https://starship.rs/guide/>
- source_facts.package-manager


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- 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: ~/.config/starship.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** starship
- **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

## Other Package-Manager Records

- Debian apt - starship - 1.22.1-5: normalized package name match | Debian stable package indexes: starship from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast and customizable shell prompt | https://starship.rs
- Nix - starship: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/starship/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - starship - 1.24.2-r0: normalized package name match | Alpine Linux edge package indexes: starship from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Minimal, blazing-fast and infinitely customizable prompt for any shell | https://starship.rs
- apk - starship-bash-completion - 1.24.2-r0: normalized package name match | Alpine Linux edge package indexes: starship-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for starship | https://starship.rs
- apk - starship-fish-completion - 1.24.2-r0: normalized package name match | Alpine Linux edge package indexes: starship-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for starship | https://starship.rs
- apk - starship-zsh-completion - 1.24.2-r0: normalized package name match | Alpine Linux edge package indexes: starship-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for starship | https://starship.rs
- apk - starship-zsh-plugin - 1.24.2-r0: normalized package name match | Alpine Linux edge package indexes: starship-zsh-plugin from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Minimal, blazing-fast and infinitely customizable prompt for any shell (Zsh plugin) | https://starship.rs
- pacman - starship - 1.25.1-1: normalized package name match | Arch Linux sync databases: starship from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The cross-shell prompt for astronauts | https://starship.rs/
- zypper - starship - 1.25.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: starship from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A customizable prompt for many shells | https://starship.rs/
- MacPorts - starship: normalized package name match | MacPorts ports tree: sysutils/starship/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - starship: normalized package name match | Chocolatey community package catalog: starship from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','sql2008r2.cmdline'
- Scoop - main/starship: normalized package name match | Scoop official bucket manifest trees: bucket/starship.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Starship.Starship: normalized package name match | Windows Package Manager source index: Starship.Starship from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [oh-my-posh](https://www.automicvault.com/pkg/brew/oh-my-posh/) - Shares av.db curated category or tags: cli, developer-tools, prompt, shell, shell-prompt.
- [genact](https://www.automicvault.com/pkg/brew/genact/) - Shares av.db curated category or tags: cli, developer-tools, rust, terminal.
- [moor](https://www.automicvault.com/pkg/brew/moor/) - Shares av.db curated category or tags: cli, developer-tools, rust, terminal.
- [shml](https://www.automicvault.com/pkg/brew/shml/) - Shares av.db curated category or tags: cli, developer-tools, shell, terminal.
- [aha](https://www.automicvault.com/pkg/brew/aha/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [amtterm](https://www.automicvault.com/pkg/brew/amtterm/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ansifilter](https://www.automicvault.com/pkg/brew/ansifilter/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ccat](https://www.automicvault.com/pkg/brew/ccat/) - Shares av.db curated category or tags: cli, developer-tools, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/starship.yml](https://github.com/automic-vault/db/blob/main/combined/starship.yml)


## Sources

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