Hi, there I will be sharing today how to install and use Jhipster :
Local installation with Yarn (recommended for normal users)
Quick setup when using Angular
- Install Java 8 from the Oracle website.
- Install Node.js from the Node.js website (prefer an LTS version)
- Install Yarn from the Yarn website
- If you want to use the JHipster Marketplace, install Yeoman:
yarn global add yo
- Install JHipster:
yarn global add generator-jhipster
Now that JHipster is installed, your next step is to create an application
Quick setup when using AngularJS 1.x
- Install Java 8 from the Oracle website.
- Install Node.js from the Node.js website (prefer an LTS version)
- Install Yarn from the Yarn website
- Install Bower:
yarn global add bower
- Install Gulp:
yarn global add gulp-cli
- If you want to use the JHipster Marketplace, install Yeoman:
yarn global add yo
- Install JHipster:
yarn global add generator-jhipster
Now that JHipster is installed, your next step is to create an application
Local installation with NPM (alternative to Yarn)
This is the same procedure as using Yarn, with two differences:
- Instead of installing Yarn in step 3, update NPM:
npm install -g npm
- Use
npm install -g
instead ofyarn global add
, for example:- To install Yeoman, type:
npm install -g yo
- To install JHipster, type:
npm install -g generator-jhipster
- To install Yeoman, type:
Installation with Homebrew on Mac OS X
JHipster provides a Homebrew package, available on http://formulae.brew.sh/formula/jhipster .
To install JHipster (as well as Node and Yarn), just type:
brew install jhipster
New versions of this package are published each time a new JHipster release is created, but it might take time for the Homebrew team to validate this package - so if you have an older JHipster release, please be patient or use the Yarn installation above.
Installation with Chocolatey on Windows
JHipster provides a Chocolatey package, available on https://chocolatey.org/packages/jhipster .
To install JHipster (as well as Node, Yarn, Yeoman, Java and Git), just type:
choco install jhipster