# 使用 npm 安装 katex

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

## 安装

```sh
sudo av install npm:katex
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g katex
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:katex
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/katex>
- **版本:** 0.17.0
- **来源摘要:** Fast math typesetting for the web.
- **主页:** <https://katex.org>
- **仓库:** <https://github.com/KaTeX/KaTeX>
- **上游文档:** <https://katex.org>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/katex/-/katex-0.17.0.tgz>
- **问题跟踪器:** <https://github.com/KaTeX/KaTeX/issues>
- **发布时间:** 2026-05-22T08:06:26.967Z
- **最后更新:** 2026-05-22T08:06:26.967Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- katex (cli)
- katex (别名)

## 依赖

- commander

## 构建依赖

- @babel/core
- @babel/plugin-proposal-class-properties
- @babel/plugin-transform-react-jsx
- @babel/plugin-transform-runtime
- @babel/preset-env
- @babel/preset-react
- @babel/preset-typescript
- @babel/register
- @babel/runtime
- @eslint/eslintrc
- @eslint/js
- @rollup/plugin-babel
- @rollup/plugin-commonjs
- @rollup/plugin-typescript
- @semantic-release/changelog
- @semantic-release/git
- @stylistic/stylelint-plugin
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- babel-jest
- babel-loader
- babel-plugin-istanbul
- babel-plugin-preval
- babel-plugin-version-inline
- benchmark
- browserslist
- caniuse-lite
- css-loader
- cssnano
- eslint
- eslint-plugin-actions
- eslint-plugin-react
- fs-extra
- globals
- got
- husky
- istanbul-lib-coverage
- istanbul-lib-report
- istanbul-reports
- jest
- jest-diff
- jest-environment-jsdom
- jest-matcher-utils
- jest-message-util
- jest-serializer-html
- js-yaml
- json-stable-stringify
- jspngopt
- mini-css-extract-plugin
- mkdirp
- p-retry
- pako
- postcss
- postcss-loader
- postcss-preset-env
- postcss-scss
- rimraf
- rollup
- sass
- sass-loader
- selenium-webdriver
- semantic-release
- sri-toolbox
- style-loader
- stylelint
- stylelint-config-standard
- stylelint-scss
- terser-webpack-plugin
- tslib
- typescript
- webpack
- webpack-bundle-analyzer
- webpack-cli
- webpack-dev-server
- webpack-remove-empty-scripts

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.17.0
- 管理器更新时间: 2026-05-22
- 本地数据: OK
- 上游仓库: https://github.com/KaTeX/KaTeX
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.17.0
- **Version Count:** 114
- **Maintainers:** xymostech, gagern, kevinbarabash, edemaine, khanacademy, sophiebits, ylemkimon
- **Publisher:** edemaine
- **Integrity:** sha512-Vdw0ATsQ9V+LuegM/BTwQqV/6cTl5lbGcIrU+BCgLxyf6bo38ybOr372tuSIxir3CN720flu1meYR6XzNMwQnw==
- **Shasum:** 536e25874ec9ac8728e3b4b7bf7fec6557b7dbf4
- **Unpacked Size:** 4,021,490
- **File Count:** 0
- **Created At:** 2014-09-15T10:05:12.455Z
- **Latest Published At:** 2026-05-22T08:06:26.967Z
- **Modified At:** 2026-05-22T08:06:27.082Z

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

- Debian apt - katex - 0.16.10+~cs6.1.0-2: normalized package name match | Debian stable package indexes: katex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast math typesetting for the web (command line interface) | https://github.com/Khan/KaTeX#readme
- Nix - katex: normalized package name match | nixpkgs package indexes: pkgs/by-name/ka/katex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - katex - 0.16.10+~cs6.1.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: katex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fast math typesetting for the web (command line interface) | https://github.com/Khan/KaTeX#readme


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Matched curated package taxonomy and local package facts.
- [markdown-docx](https://www.automicvault.com/zh-hans/pkg/npm/markdown-docx/) - Local package facts share a topical domain. Shared terms: commander, fast, katex.
- [parcel](https://www.automicvault.com/zh-hans/pkg/npm/parcel/) - Local package facts share a topical domain. Shared terms: commander, fast, web.
- [apidoc](https://www.automicvault.com/zh-hans/pkg/npm/apidoc/) - Local package facts share a topical domain. Shared terms: commander, web.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
