Hexo Installation

As Hexo runs on NodeJS then you need to have a recent version of nodejs installed.

Node can be installed via your operating system package manager or as binaries from nodejs.org. The Node package manager is part of the node install. If you install node via your package manager or in a system path eg, /usr/local or /opt then you will need to use the sudo command with any npm install command.

Once node is installed, use the node package manager to install Hexo

npm install -g hexo

Using the -g option tells the node package manager to install Hexo globally. If nodejs is installed in the operating system path, you will need to use the sudo command