# 使用 npm 安装 cli-highlight

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

## 安装

```sh
sudo av install npm:cli-highlight
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g cli-highlight
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:cli-highlight
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/cli-highlight>
- **版本:** 2.1.11
- **来源摘要:** Syntax highlighting in your terminal
- **主页:** <https://github.com/felixfbecker/cli-highlight#readme>
- **仓库:** <https://github.com/felixfbecker/cli-highlight>
- **上游文档:** <https://github.com/felixfbecker/cli-highlight#readme>
- **许可证:** ISC
- **源码归档:** <https://registry.npmjs.org/cli-highlight/-/cli-highlight-2.1.11.tgz>
- **问题跟踪器:** <https://github.com/felixfbecker/cli-highlight/issues>
- **发布时间:** 2021-03-28T18:09:23.896Z
- **最后更新:** 2021-03-28T18:09:23.896Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- highlight (cli)

## 依赖

- chalk
- highlight.js
- mz
- parse5
- parse5-htmlparser2-tree-adapter
- yargs

## 构建依赖

- @commitlint/cli
- @commitlint/config-conventional
- @eclass/semantic-release-surge
- @sourcegraph/eslint-config
- @sourcegraph/prettierrc
- @types/jest
- @types/mz
- @types/node
- @types/parse5
- @types/parse5-htmlparser2-tree-adapter
- @types/yargs
- eslint
- husky
- jest
- prettier
- semantic-release
- ts-jest
- typedoc
- typescript

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.1.11
- 管理器更新时间: 2021-03-28
- 本地数据: OK
- 上游仓库: https://github.com/felixfbecker/cli-highlight
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.1.11
- **Version Count:** 24
- **Maintainers:** felixfbecker
- **Author:** Felix Becker
- **Publisher:** felixfbecker
- **Engines:** Node: >=8.0.0, npm: >=5.0.0
- **Integrity:** sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==
- **Shasum:** 49736fa452f0aaf4fae580e30acb26828d2dc1bf
- **Unpacked Size:** 42,742
- **File Count:** 0
- **Created At:** 2016-08-13T07:07:06.070Z
- **Latest Published At:** 2021-03-28T18:09:23.896Z
- **Modified At:** 2023-04-12T02:46:09.922Z

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

- MacPorts - highlight: installed executable or alias match | MacPorts ports tree: textproc/highlight/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - highlight - 4.10-1+b2: installed executable or alias match | Debian stable package indexes: highlight from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Universal source code to formatted text converter | http://www.andre-simon.de
- Debian apt - highlight-common - 4.10-1: installed executable or alias match | Debian stable package indexes: highlight-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | source code to formatted text converter (architecture independent files) | http://www.andre-simon.de
- Debian apt - libhighlight-perl - 4.10-1+b2: installed executable or alias match | Debian stable package indexes: libhighlight-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | perl bindings for highlight source code to formatted text converter | http://www.andre-simon.de
- Nix - highlight: installed executable or alias match | nixpkgs package indexes: highlight from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - highlight - 4.10-1build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: highlight from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Universal source code to formatted text converter | http://www.andre-simon.de
- Ubuntu apt - highlight-common - 4.10-1build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: highlight-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | source code to formatted text converter (architecture independent files) | http://www.andre-simon.de
- Ubuntu apt - libhighlight-perl - 4.10-1build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libhighlight-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | perl bindings for highlight source code to formatted text converter | http://www.andre-simon.de
- apk - highlight - 4.19-r0: installed executable or alias match | Alpine Linux edge package indexes: highlight from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Fast and flexible source code highlighter | http://www.andre-simon.de/doku/highlight/highlight.html
- apk - highlight-bash-completion - 4.19-r0: installed executable or alias match | Alpine Linux edge package indexes: highlight-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Bash completions for highlight | http://www.andre-simon.de/doku/highlight/highlight.html
- apk - highlight-doc - 4.19-r0: installed executable or alias match | Alpine Linux edge package indexes: highlight-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Fast and flexible source code highlighter (documentation) | http://www.andre-simon.de/doku/highlight/highlight.html
- apk - highlight-fish-completion - 4.19-r0: installed executable or alias match | Alpine Linux edge package indexes: highlight-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Fish completions for highlight | http://www.andre-simon.de/doku/highlight/highlight.html
- apk - highlight-zsh-completion - 4.19-r0: installed executable or alias match | Alpine Linux edge package indexes: highlight-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Zsh completions for highlight | http://www.andre-simon.de/doku/highlight/highlight.html
- dnf - highlight - 4.20-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: highlight from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Universal source code to formatted text converter | http://www.andre-simon.de/
- dnf - highlight-gui - 4.20-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: highlight-gui from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | GUI for the highlight source code formatter | http://www.andre-simon.de/
- pacman - highlight - 4.20-1: installed executable or alias match | Arch Linux sync databases: highlight from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fast and flexible source code highlighter - CLI version | http://www.andre-simon.de/doku/highlight/highlight.html


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched curated package taxonomy and local package facts.
- [cli-high](https://pkg.so/zh-hans/npm/cli-high/) - Package names and metadata indicate a similar tool family. Shared terms: cli, color, highlight, highlighting, syntax.
- [stmux](https://pkg.so/zh-hans/npm/stmux/) - Local package facts share a topical domain. Shared terms: ansi, chalk, cli, system, terminal.
- [concurrently](https://pkg.so/zh-hans/npm/concurrently/) - Local package facts share a topical domain. Shared terms: chalk, cli, color, system, tree.

## 来源

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