Categories
configuration web programming

Global npm Install Without sudo

Execute command to set npm prefix to within your user .local folder and then export the path with the added .local/bin part. Upon any subsequent login, or by sourcing the .profile file, this will be automatically done (the path part). Checking npm cache directory thus verifying installing packages in ~/.npm would put them in harms […]