-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow custom installation location #1009
Comments
I would say even pip, npm, cargo and whatnot should also be patched to respect this environment variable (when installed by pkgx). |
I wonder if there is some appropriate env var that already is established. |
Some examples I know:
https://docs.deno.com/runtime/manual/basics/env_variables/
https://doc.rust-lang.org/cargo/commands/cargo-install.html#description |
|
Since
pkgx install
is simply checking if the user has permissions to write to/usr/local
it has a very confusing behavior. When there are more than one users in the system it will have conflicting results because some packages can be already installed by another user to the same folder.It would be useful to have a simple
PKGX_INSTALLATION_DIR
showing it where to install/uninstall packages.The text was updated successfully, but these errors were encountered: