Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gentoo:npm [2025/01/21 07:23] – created willy | gentoo:npm [2025/03/13 13:26] (current) – willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Using npm on Gentoo ====== | + | ====== |
Quite similarly to the issue with [[gentoo: | Quite similarly to the issue with [[gentoo: | ||
Line 14: | Line 14: | ||
su - my_non_root_user | su - my_non_root_user | ||
npm config set prefix .npm_install | npm config set prefix .npm_install | ||
- | echo export PATH=$PATH: | ||
</ | </ | ||
+ | |||
+ | Add this to your **~/ | ||
+ | < | ||
+ | export PATH=$PATH: | ||
+ | </ | ||
At this point, you will be able to install packages with a command like: | At this point, you will be able to install packages with a command like: |