# Install cardinal with npm

Syntax highlights JavaScript code with ANSI colors to be printed to the terminal. Version 2.1.1 via npm; verified 2018-05-22. Also installable with nix: nix profile install nixpkgs#cardinal.

## Install

```sh
sudo av install npm:cardinal
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g cardinal
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:cardinal
- **Package manager:** npm
- **Version:** 2.1.1
- **Source summary:** Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.
- **Homepage:** <https://github.com/thlorenz/cardinal#readme>
- **Last updated:** 2018-05-22T17:44:37.164Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cdl (alias)

## Install behavior

- Bottle: not available

## Freshness

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

## Security Notes

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


## Other Package-Manager Records

- Nix - cardinal: normalized package name match | nixpkgs package indexes: pkgs/by-name/ca/cardinal/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - cardinal - 26.02-1: normalized package name match | Arch Linux sync databases: cardinal from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Virtual modular synthesizer | https://github.com/DISTRHO/Cardinal
- winget - DISTRHO.Cardinal: normalized package name match | Windows Package Manager source index: DISTRHO.Cardinal from https://cdn.winget.microsoft.com/cache/source.msix


## Sources

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