From ca7d1e856bbe22c3fec1c2333a789a6d93aa1725 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Thu, 28 Jul 2016 22:41:26 -0400 Subject: [PATCH] document setup via npm --- docs/installation.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/installation.md diff --git a/docs/installation.md b/docs/installation.md new file mode 100644 index 00000000..83fdc0f5 --- /dev/null +++ b/docs/installation.md @@ -0,0 +1,10 @@ +# Installation + +### NPM + +NPM (Node package manager) is the default package manager that is bundled w/ Node.js. Download and install [Node.js](https://nodejs.org); NPM will be automatically installed as well. + +To use Mithril via NPM: + +- go to your project folder, and run `npm init` from the command line. This will ask some questions (you can just press enter in all of them to set default values), and a file called `package.json` will be created. +- run `npm install mithril --save`. This will create a folder called `node_modules`, and a `mithril` folder inside of it. \ No newline at end of file