Files
KaTeX/docs/node.md
ylemkimon c06b36cb6a Replace yarn run and yarn install with yarn, remove building with npm instructions (#1528)
* Replace `yarn run` with `yarn`

* Replace `yarn install` with `yarn`

* Remove building using `npm` from node.md
2018-07-30 14:31:25 +09:00

617 B

id, title
id title
node Node.js

npm

Install with npm:

npm install katex
# or globally
npm install -g katex

Yarn

Install with Yarn:

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:

git clone https://github.com/Khan/KaTeX.git
cd KaTeX

Then install dependencies and run build script:

yarn
yarn build

You can manually download the package and source code from GitHub releases.