macOS
brew install starshiplocal Homebrew formula metadata
sudo port install starshipMacPorts ports tree · sysutils/starship/Portfile · 来源: api.github.com
安装
brew install starshiplocal Homebrew formula metadata
sudo port install starshipMacPorts ports tree · sysutils/starship/Portfile · 来源: api.github.com
sudo apk add starshipAlpine Linux edge package indexes · starship · 来源: dl-cdn.alpinelinux.org
sudo apt install starshipDebian stable package indexes · starship · 来源: deb.debian.org
nix profile install nixpkgs#starshipnixpkgs package indexes · pkgs/by-name/st/starship/package.nix · 来源: api.github.com
sudo pacman -S starshipArch Linux sync databases · starship · 来源: geo.mirror.pkgbuild.com
sudo zypper install starshipopenSUSE Tumbleweed package metadata · starship · 来源: download.opensuse.org
choco install starshipChocolatey community package catalog · starship · 来源: community.chocolatey.org
scoop install main/starshipScoop official bucket manifest trees · bucket/starship.json · 来源: api.github.com
winget install --id Starship.Starship -eWindows Package Manager source index · Starship.Starship · 来源: cdn.winget.microsoft.com
概览
Cross-shell prompt for astronauts
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.config/starship.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
starship | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:starship |
|---|---|
| 版本 | 1.26.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://starship.rs/ |
| 仓库 | https://github.com/starship/starship |
| 最后更新 | 2026-06-28T18:44:05Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
starship 1.22.1-5
fast and customizable shell prompt
sudo apt install starshipstarship
nix profile install nixpkgs#starshipstarship 1.24.2-r0
Minimal, blazing-fast and infinitely customizable prompt for any shell
sudo apk add starshipstarship-bash-completion 1.24.2-r0
Bash completions for starship
sudo apk add starship-bash-completionstarship-fish-completion 1.24.2-r0
Fish completions for starship
sudo apk add starship-fish-completionstarship-zsh-completion 1.24.2-r0
Zsh completions for starship
sudo apk add starship-zsh-completionstarship-zsh-plugin 1.24.2-r0
Minimal, blazing-fast and infinitely customizable prompt for any shell (Zsh plugin)
sudo apk add starship-zsh-pluginstarship 1.26.0-1
The cross-shell prompt for astronauts
sudo pacman -S starshipstarship 1.26.0-1.3
A customizable prompt for many shells
sudo zypper install starshipstarship
sudo port install starshipstarship
choco install starshipmain/starship
scoop install main/starshipStarship.Starship
winget install --id Starship.Starship -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.