Quick and dirty tricks to get raml2html on your Ubuntu machine 🙂

First we need to install nodejs and npm from official repo.

Then we install raml2html from npm library:

sudo npm i -g raml2html

If the installation is successful you’ll see an output like:

Last verification:

raml2html --help

Oops, looks like something’s wrong with NPM

Try to create symlink and re-run raml2html

sudo ln -s /usr/bin/nodejs /usr/bin/node

If you hit this issue:

Try to cleanup npm cache and upgrade to the latest version:


And finally some action:

raml2html -o index.html index.raml

For more refer to the official raml2html repo on github: https://github.com/raml2html/raml2html

Install raml2html on Ubuntu 14.04
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *