JHipster provides an "upgrade" sub-generator (http://www.jhipster.tech/upgrading-an-application/) to help you upgrade an application with a new JHipster version. It is quite useful as it automates a lot of manual steps for you and the only thing you need to do is resolve merge conflicts, if there are any, after the upgrade is complete. Let's upgrade our application.
In your Terminal, execute the jhipster upgrade command. The upgrade process will start if there is a new version of JHipster available; otherwise, the process will exit with an error message.
Once the process starts, you will see a detailed console log of what is going on. As you can see, this sub-generator uses the global JHipster version instead of the local one, unlike other sub-generators:
INFO! Using JHipster version installed globally
INFO! Executing jhipster...