Carl
Carl

Reputation: 1258

How do install a specific version of Bower with NPM

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

Upvotes: 8

Views: 8707

Answers (1)

Dror Bereznitsky
Dror Bereznitsky

Reputation: 20376

You need to use the @ sign instead of #:

npm install -g [email protected]

For more details see npm-install

Upvotes: 19

Related Questions