You can use npm link
1 for that:
git clone git@github.com:jhipster/generator-jhipster.git
cd generator-jhipster
npm link
it will create a globally-installed symbolic link.
You can then use the generator on your system normally.
yo jhipster
Question
I'm not (yet) familiar with the javascript stack but I'd like to use JHipster latest commit from master to generate my webapp.
How do I build locally generator-jhipster
project and use it with yo jhipster
?
Solution
You can use npm link
1 for that:
git clone git@github.com:jhipster/generator-jhipster.git
cd generator-jhipster
npm link
it will create a globally-installed symbolic link.
You can then use the generator on your system normally.
yo jhipster
OTHER TIPS
just use it 1. sudo apt-get update 2.sudo npm install -g generator-jhipster
please before install jhipster confirm you have used sudo apt-get update then it will work 100% Thank you