-
Notifications
You must be signed in to change notification settings - Fork 777
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
Is there a way to use asdf as system global? #577
Comments
Yes! ASDF is pretty much agnostic to where it is installed. Just clone asdf at any shared location, say I'd recommend having a single user manage installed tool versions, since asdf has no restriction on what a plugin-install command can do, and what permissions files are created with. So, I guess the best would be, install things for other users and make sure everyone can read and execute. |
unfortunately plugins go to $HOME/.asdf dir |
export ASDF_DATA_DIR=/opt/asdf |
Make sure to export ASDF_DATA_DIR before calling the scripts in.bashrc.
Says so here, but I missed it, and it kept looking at my local installation. |
Is this before installing via git or after? |
It should be after, but it probably doesn't matter. Note for others, you may want to copy the |
We may also need to add |
I wonder Is there a way to use asdf as global for every user?
to not duplicate plugins and save disks space.
The text was updated successfully, but these errors were encountered: