Kasun Wimaladarma
Kasun Wimaladarma

Reputation: 187

how to make npm package available for all users

I installed angular-cli on my root user. So when I check ng version it works and gives the angular version.

But when I check this from a non root user I cannot see it. How can I make this available for all users.

os - oracle linux 7

tried npm config prefix /usr/local it does not work

Upvotes: 0

Views: 662

Answers (1)

yanir midler
yanir midler

Reputation: 2702

For the 'Network Service' account use the folder:

C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\npm

Upvotes: 1

Related Questions