# 使用 Cargo 安装 starship

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

## 安装

```sh
sudo av install cargo:starship
```

其他安装命令:

### 便携式和语言管理器

- Cargo (100%):

```sh
cargo install starship
```

  证据: local crates.io package metadata

## 软件包事实

- **软件包键:** cargo:starship
- **软件包管理器:** Cargo
- **软件包管理器页面:** <https://crates.io/crates/starship>
- **版本:** 1.26.0
- **来源摘要:** The minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
- **主页:** <https://starship.rs>
- **仓库:** <https://github.com/starship/starship>
- **上游文档:** <https://starship.rs/guide/>
- **许可证:** ISC
- **源码归档:** <https://static.crates.io/crates/starship/starship-1.26.0.crate>
- **发布时间:** 2026-06-28 17:17:38.665643+00
- **最后更新:** 2026-06-28 17:17:38.665643+00
- **已生成:** 2026-09-19T06:45:57+00:00

## 可执行文件

- starship (二进制): Declared by crates.io version metadata.

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-09-19
- 管理器版本: 1.26.0

## 安全说明

没有找到 starship 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** crates.io database dump
- **Crate ID:** 136,490
- **Crate Size:** 396,729
- **Edition:** 2024
- **Executable Intent:** Intent: public_cli, Signals: archive contains src/main.rs, binary name matches crate name
- **Has Lib:** yes
- **Num Versions:** 143
- **Recent Download Window Days:** 90
- **Rust Version:** 1.90
- **Version ID:** 2,665,576

## 其他软件包管理器记录

- 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.26.0-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.26.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: starship from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-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 https://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','sql2016-clrtypes'
- 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


## 相关链接

- [starship](https://pkg.so/zh-hans/brew/starship/) - Same normalized package name exists in another local package ecosystem.

## 来源

- crates.io package index
- external package-manager database matches
- cross-ecosystem install command graph
