Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do install a specific version of Bower with NPM

Tags:

npm

version

bower

I would like to install version 1.3.9 of bower with NPM. I have tried the following:

sudo npm uninstall -g bower

(successful)

sudo npm install -g bower#1.3.9

Even though bower re-installs correctly the version remains at the latest version, 1.3.12, not at the desired 1.3.9

like image 968
Carl Avatar asked Nov 17 '14 09:11

Carl


1 Answers

You need to use the @ sign instead of #:

npm install -g [email protected]

For more details see npm-install

like image 86
Dror Bereznitsky Avatar answered Oct 10 '22 05:10

Dror Bereznitsky