pkg.soopen package index

brew / 排名 245

使用 Homebrew, apk, chocolatey, apt, MacPorts, Nix, pacman, zypper, scoop, winget 安装 starship

查看 starship 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install starship

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install starship

MacPorts ports tree · sysutils/starship/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add starship

Alpine Linux edge package indexes · starship · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install starship

Debian stable package indexes · starship · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#starship

nixpkgs package indexes · pkgs/by-name/st/starship/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S starship

Arch Linux sync databases · starship · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install starship

openSUSE Tumbleweed package metadata · starship · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install starship

Chocolatey community package catalog · starship · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/starship

Scoop official bucket manifest trees · bucket/starship.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Starship.Starship -e

Windows Package Manager source index · Starship.Starship · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Cross-shell prompt for astronauts

命令和别名

  • starship

历史

项目历史与用法

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

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:shell

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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
~/.config/starship.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
starship可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.26.0
管理器更新时间2026-06-28
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:starship
版本1.26.0
软件包管理器Homebrew
主页https://starship.rs/
仓库https://github.com/starship/starship
最后更新2026-06-28T18:44:05Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

starship 1.22.1-5

fast and customizable shell prompt

https://starship.rs

sudo apt install starship
  • Section: utils
  • Architecture: amd64
  • 3 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Starship
Debian stable package indexes · deb.debian.org · Debian stable package indexes: starship from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

starship

nix profile install nixpkgs#starship
  • normalized package name match
  • 匹配方式:Starship
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/st/starship/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

starship 1.24.2-r0

Minimal, blazing-fast and infinitely customizable prompt for any shell

https://starship.rs

sudo apk add starship
  • License: ISC
  • Architecture: x86_64
  • Source Package: starship
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Starship
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: starship from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

starship-bash-completion 1.24.2-r0

Bash completions for starship

https://starship.rs

sudo apk add starship-bash-completion
  • License: ISC
  • Architecture: x86_64
  • Source Package: starship
  • normalized package name match
  • 匹配方式:Starship
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: starship-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

starship-fish-completion 1.24.2-r0

Fish completions for starship

https://starship.rs

sudo apk add starship-fish-completion
  • License: ISC
  • Architecture: x86_64
  • Source Package: starship
  • normalized package name match
  • 匹配方式:Starship
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: starship-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

starship-zsh-completion 1.24.2-r0

Zsh completions for starship

https://starship.rs

sudo apk add starship-zsh-completion
  • License: ISC
  • Architecture: x86_64
  • Source Package: starship
  • normalized package name match
  • 匹配方式:Starship
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: starship-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

starship-zsh-plugin 1.24.2-r0

Minimal, blazing-fast and infinitely customizable prompt for any shell (Zsh plugin)

https://starship.rs

sudo apk add starship-zsh-plugin
  • License: ISC
  • Architecture: x86_64
  • Source Package: starship
  • 1 依赖
  • normalized package name match
  • 匹配方式:Starship
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: starship-zsh-plugin from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

starship 1.26.0-1

The cross-shell prompt for astronauts

https://starship.rs/

sudo pacman -S starship
  • License: ISC
  • Architecture: x86_64
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Starship
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: starship from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

starship 1.26.0-1.3

A customizable prompt for many shells

https://starship.rs/

sudo zypper install starship
  • License: ISC
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: starship
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Starship
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: starship from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

starship

sudo port install starship
  • normalized package name match
  • 匹配方式:Starship
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/starship/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

starship

choco install starship
  • normalized package name match
  • 匹配方式:Starship
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: starship from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','sqlitebrowser.install'
Scoop95%

main/starship

scoop install main/starship
  • normalized package name match
  • 匹配方式:Starship
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/starship.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Starship.Starship

winget install --id Starship.Starship -e
  • normalized package name match
  • 匹配方式:Starship
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Starship.Starship from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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