KernelCafe / welcome

a virtual hackerspace for open-source contributors 🍿☕
https://kernel.cafe/
Apache License 2.0
43 stars 13 forks source link

Install asdf for all users #36

Open runlevel5 opened 3 years ago

runlevel5 commented 3 years ago

asdf is a version managers for many programming languages.

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

tstromberg commented 3 years ago

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.

runlevel5 commented 3 years ago

@tstromberg which node are you trying that out with?