How To Install JHipster on Ubuntu

JHipster is a fully open source, free to download, multi-platform, widely used application generator for SpringBoot and Angular applications.

To get started, open your terminal with:


Then run the following commands, one a

Step 1: Install Maven

Please run the following commands, one after the other:

sudo apt-get update

You will be asked to enter your password, there won't be any visual feedback.

sudo apt-get upgrade

sudo apt-get install maven

Step 2: Install Git

sudo apt-get install git

Step 3: Install Node.JS

sudo apt-get install curl

curl -sL | sudo -E bash

sudo apt-get install -y nodejs

Note: Please check for the latest Node.js

You are going to have to change the default of npm to that of another. This is done by a reconfiguration of directories altogether. We are going to create a hidden directory in our home folder. We are going to create a directory for global installations then configure npm to use this directory.

You are still working from your terminal which is opened by:


Then run the following commands:

mkdir ~/.npm-global

npm config set prefix '~/.npm-global'

$ export PATH=~/.npm-global/bin:$PATH

At this point, update your system varriables with:

sudo apt-get update && sudo apt-get upgrade

$ source ~/.profile


Related: Fixing npm Permissions

Step 4: Install jHipster and Yeoman

$ npm install -g npm

$ npm install -g yo

$ npm install -g generator-jhipster

Create a new directory:

$ mkdir myApp && cd myApp

Run jHipster and follow the on-screen prompts:

$ yo jhipster

That's all you should need. If you have any comments, please share them in the section provided below!