Hexo can easily be extended via its powerful plugin system which also supports Jade and CoffeeScript plugins. Using Hexo to edit your content on the web should be easy and fun. No need for learning templating and HTML. It hides most of that stuff and focuses on what matters most. For more about Hexo, check its homepage. These are the packages we’re going to set up.

Ruby version 2.5.3 Node.js 8

Install Ruby

To install Ruby on Ubuntu, you’ll need to install some dependencies. To make that happen, install Node.js and Yarn repositories. This will make installing the dependencies easier. First, install these curl and git packages. Then run the commands below to add Node.js and Yarn repositories and keys to your system. Then install some core packages to get your environment going. When you’re done. continue below: After adding the repositories and installing the necessary packages above, install Ruby with your local profile settings using rbenv. you’ll then use rbenv to install ruby-build. After setting up your local profile. run the commands below to install Ruby version 2.5.3. If a newer version is available, replace the version number with that. visit this site to find out Ruby’s latest versions. To verify that Ruby is installed, run the commands below: You should see similar lines below: The steps above install Ruby on Ubuntu. Continue below to install Hexo.

Install Node.js

Now that the Ruby environment is set up, run the commands below to install Node.js. Run the commands below to install the Node.js repository, then install the Node.js package. Now that Node.js is installed, run the commands below to install Hexo.

Install Hexo

Now that your environment is ready, run the commands below to install Hexo globally and begin building your projects. The next command will create a new project folder called Hexo in your home directory. You can name it whatever you like. After creating the project folder, change it and start the server from there. After a while, necessary packages should be installed and configured, ready to use. You should see Hexo’s home page. Enjoy! Congratulation! You have successfully installed Hexo on Ubuntu 16.04 | 18.04 | 18.10 You may also like the post below: