Files
KaTeX/website/versioned_docs/version-0.10.0-rc.1/node.md
ylemkimon 7ca6f51b9a Release v0.10.0-rc.1 (#1654)
Bump master to v0.10.0-pre
2018-08-23 02:42:24 +09:00

42 lines
655 B
Markdown

---
id: version-0.10.0-rc.1-node
title: Node.js
original_id: node
---
## npm
Install with `npm`:
```bash
npm install katex
# or globally
npm install -g katex
```
## Yarn
Install with `Yarn`:
```bash
yarn add katex
# or globally
yarn global add katex
```
## Building from Source
To build you will need Git, Node.js 6.9 or later, and Yarn.
Clone a copy of the GitHub source repository:
```bash
git clone https://github.com/Khan/KaTeX.git
cd KaTeX
```
Then install dependencies and run `build` script:
```bash
yarn
yarn build
```
> You can manually download the package and source code from
[GitHub releases](https://github.com/Khan/KaTeX/releases).