# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt, scoop, winget 安装 pastel

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

## 安装

```sh
sudo av install brew:pastel
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pastel
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pastel
```

  证据: MacPorts ports tree: graphics/pastel/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add pastel
```

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

- dnf (92%):

```sh
sudo dnf install pastel
```

  证据: Fedora Rawhide package metadata: pastel 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#pastel
```

  证据: nixpkgs package indexes: pkgs/by-name/pa/pastel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S pastel
```

  证据: Arch Linux sync databases: pastel from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install pastel
```

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

- Debian apt (92%):

```sh
sudo apt install python3-pastel
```

  证据: Debian stable package indexes: python3-pastel from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- Scoop (92%):

```sh
scoop install main/pastel
```

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

- winget (92%):

```sh
winget install --id Japplis.Pastel -e
```

  证据: Windows Package Manager source index: Japplis.Pastel from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:pastel
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/pastel>
- **版本:** 0.12.0
- **来源摘要:** Command-line tool to generate, analyze, convert and manipulate colors
- **主页:** <https://github.com/sharkdp/pastel>
- **仓库:** <https://github.com/sharkdp/pastel>
- **许可证:** Apache-2.0 OR MIT
- **源码归档:** <https://github.com/sharkdp/pastel/archive/refs/tags/v0.12.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- pastel (cli)
- pastel (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.12.0
- 本地数据: OK
- 上游仓库: https://github.com/sharkdp/pastel
- 检测到的最新版本: v0.12.0 (当前)
- 信息: No package-manager update timestamp was available.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

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

- Debian apt - python3-pastel - 0.2.1-2: normalized package name match | Debian stable package indexes: python3-pastel from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | bring colors to your terminal (Python 3) | https://github.com/sdispater/pastel
- Nix - pastel: normalized package name match | nixpkgs package indexes: pkgs/by-name/pa/pastel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - python3-pastel - 0.2.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-pastel from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | bring colors to your terminal (Python 3) | https://github.com/sdispater/pastel
- apk - pastel - 0.12.0-r0: normalized package name match | Alpine Linux edge package indexes: pastel from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line tool to generate, analyze, convert and manipulate colors | https://github.com/sharkdp/pastel
- apk - pastel-bash-completion - 0.12.0-r0: normalized package name match | Alpine Linux edge package indexes: pastel-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for pastel | https://github.com/sharkdp/pastel
- apk - pastel-fish-completion - 0.12.0-r0: normalized package name match | Alpine Linux edge package indexes: pastel-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for pastel | https://github.com/sharkdp/pastel
- apk - pastel-zsh-completion - 0.12.0-r0: normalized package name match | Alpine Linux edge package indexes: pastel-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for pastel | https://github.com/sharkdp/pastel
- dnf - pastel - 0.12.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: pastel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Command-line tool to generate, analyze, convert and manipulate colors | https://crates.io/crates/pastel
- pacman - pastel - 0.12.0-1: normalized package name match | Arch Linux sync databases: pastel from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A command-line tool to generate, analyze, convert and manipulate colors | https://github.com/sharkdp/pastel
- zypper - pastel - 0.12.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: pastel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI to generate, analyze, convert and manipulate colors | https://github.com/sharkdp/pastel
- zypper - pastel-doc - 0.12.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: pastel-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation for pastel | https://github.com/sharkdp/pastel
- MacPorts - pastel: normalized package name match | MacPorts ports tree: graphics/pastel/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/pastel: normalized package name match | Scoop official bucket manifest trees: bucket/pastel.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Japplis.Pastel: normalized package name match | Windows Package Manager source index: Japplis.Pastel from https://cdn.winget.microsoft.com/cache/source.msix
- winget - sharkdp.pastel: normalized package name match | Windows Package Manager source index: sharkdp.pastel from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [fzf](https://pkg.so/zh-hans/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [neovim](https://pkg.so/zh-hans/brew/neovim/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [starship](https://pkg.so/zh-hans/brew/starship/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [television](https://pkg.so/zh-hans/brew/television/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [oh-my-posh](https://pkg.so/zh-hans/brew/oh-my-posh/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [glow](https://pkg.so/zh-hans/brew/glow/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [nano](https://pkg.so/zh-hans/brew/nano/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [tealdeer](https://pkg.so/zh-hans/brew/tealdeer/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [chars](https://pkg.so/zh-hans/brew/chars/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, line.
- [navi](https://pkg.so/zh-hans/brew/navi/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, line.
- [privatebin-cli](https://pkg.so/zh-hans/brew/privatebin-cli/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, line.

## Combined YAML source

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


## 来源

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