3 ms·
Any os-level package manager. Also: "npm -g", "pip install", "cargo install", etc.. Lots of programming languages or build systems will look for dependencies i
by maxmcd 3y ago
Any os-level package manager. Also: "npm -g", "pip install", "cargo install", etc..
Lots of programming languages or build systems will look for dependencies in globally-known locations.
Other than cargo, python's virtualenv, node_modules, and some other modern languages/systems I would imagine most are not project-scoped. Go had a single global dependency tree until go.mod, etc...
- SahAssar 3y ago"npm" is a environment/scoped package manager. Saying "npm -g" when -g is a flag tell it to run in a non-default way (globally) is a bad argument.