Install python packages for local user without sudo
ernie55ernie.github.io › python › 2016/11/11Nov 11, 2016 · Now, the pip command can be used without sudo and the Python packages can be installed locally. [username@host ~] $ pip install pandas Collecting pandas Downloading pandas-0.19.1-cp34-cp34m-manylinux1_x86_64.whl (18.1MB) 100% | | 18.1MB 66kB/s Collecting numpy> = 1.7.0 (from pandas) Downloading numpy-1.11.2-cp34-cp34m-manylinux1_x86_64.whl (15.6MB) 100% | | 15.6MB 76kB/s Collecting python ...
The Right Way™ to do global npm install without sudo
michaelb.org › the-right-way-to-do-global-npmJun 27, 2017 · The Right Way™ to do global npm install without sudo I'm writing this post since there were a lot of guides online on how to set up NPM so you can do npm install -g (that is, a global NPM install) on macOS or Linux without superuser privileges, but all those guides recommended a rather strange directory structure, such as a very strange looking ~/.npm directory loose in your home folder.