welcome icon indicating copy to clipboard operation
welcome copied to clipboard

Install asdf for all users

Open runlevel5 opened this issue 4 years ago • 2 comments

asdf is a version managers for many programming languages.

IMHO it is better to install programming languages locally for every users

runlevel5 avatar Feb 25 '21 03:02 runlevel5

I agree - but could use some help with writing a script that accomplishes this in a meaningful way.

I tried naively to ensure that it gets installed in /usr/local/asdf, but wasn't able to get the result to function:

~/src/asdf/bin/asdf install nodejs 13.14.0                                                                                                                                                                                /Users/t/.asdf/plugins/nodejs/bin/../lib/utils.sh: line 62: printf: write error: Broken pipe
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4029    0  4029    0     0  24418      0 --:--:-- --:--:-- --:--:-- 24418
You should install GnuPG to verify the authenticity of the downloaded archives: https://www.gnupg.org/

One other complication is ensuring that asdf gets added to the login scripts for fish, bash, zsh. That can come second though.

tstromberg avatar Mar 03 '21 20:03 tstromberg

@tstromberg which node are you trying that out with?

runlevel5 avatar Mar 03 '21 22:03 runlevel5