Download

1

Install locally with npm

You can install MJML on OSX, Linux and Windows usingnpm.
$ npm init -y && npm install mjml

$ ./node_modules/.bin/mjml index.mjml
2

Add it to your path

For a better experience, add MJML to your path
$ export PATH="$PATH:./node_modules/.bin"

$ mjml index.mjml

After the installation

$ mjml -r index.mjml
$ mjml --watch index.mjml -o index.html
$ mjml -r index.mjml -o index.html

Integrate MJML in your workflow