Steps for JHipster Installation

Home Forums Open Source JHipster Discussion Steps for JHipster Installation

This topic contains 0 replies, has 1 voice, and was last updated by  Balvinder Singh 1 year, 5 months ago.

  • Author
    Posts
  • #2548

    Balvinder Singh
    Keymaster

    Hi, there I will be sharing today how to install and use Jhipster :

    Quick setup when using Angular

    1. Install Java 8 from the Oracle website.
    2. Install Node.js from the Node.js website (prefer an LTS version)
    3. Install Yarn from the Yarn website
    4. If you want to use the JHipster Marketplace, install Yeoman: yarn global add yo
    5. 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

    1. Install Java 8 from the Oracle website.
    2. Install Node.js from the Node.js website (prefer an LTS version)
    3. Install Yarn from the Yarn website
    4. Install Bower: yarn global add bower
    5. Install Gulp: yarn global add gulp-cli
    6. If you want to use the JHipster Marketplace, install Yeoman: yarn global add yo
    7. 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:

    1. Instead of installing Yarn in step 3, update NPM: npm install -g npm
    2. Use npm install -g instead of yarn global add, for example:
      • To install Yeoman, type: npm install -g yo
      • To install JHipster, type: npm install -g generator-jhipster

     

    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

You must be logged in to reply to this topic.