# Install katex with npm

Fast math typesetting for the web. Version 0.18.1 via npm; verified 2026-07-19. Also installable with debian: sudo apt install katex.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:katex
- **Package manager:** npm
- **Version:** 0.18.1
- **Source summary:** Fast math typesetting for the web.
- **Homepage:** <https://katex.org>
- **Last updated:** 2026-07-19T08:40:11.506Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- katex (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.18.1

## Security Notes

No matching local secret-handling manifest was found for katex. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

- 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


## Sources

- pkg.so package database
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
