# Install mathjs with npm

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif. Version 15.2.0 via npm; verified 2026-04-07.

## Install

```sh
sudo av install npm:mathjs
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g mathjs
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:mathjs
- **Package manager:** npm
- **Version:** 15.2.0
- **Source summary:** Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
- **Homepage:** <https://mathjs.org>
- **Last updated:** 2026-04-07T14:35:09.363Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mathjs (alias)

## Install behavior

- Bottle: not available

## Freshness

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

## Security Notes

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



## Sources

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