Questions tagged [asdf-vm]

Use this tag for questions relating to asdf, the extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more, via a simple plugin system.

asdf is an extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more, via a simple plugin system.

https://github.com/asdf-vm/asdf

98 questions
1
vote
1 answer

Should I uninstall rbenv before installing asdf?

I wish to install asdf in order to provide for multiple language environments (ruby/python/postgres..) for macOS development. Previously I have used rbenv to install ruby, and use several ruby gems, including for Cocoapods. Should I first…
Gio
  • 11
  • 2
1
vote
0 answers

asdf fails to download if system is using https_proxy

What are some ways to teach asdf to ignore certificate validation or teach it to bypass proxies? For curl, this problem is solved like this: $ echo '--proxy ""' >> ~/.curlrc OR $ echo '-k' >> ~/.curlrc OR alias curl='curl --proxy ""' OR alias…
sandergol
  • 11
  • 1
1
vote
1 answer

Installing SBCL 2.2.7 via asdf-vm on Mac OS X M1 leads to 'zstd.h' bug - save.c:45:11: fatal error: 'zstd.h' file not found

I am currently trying to install SBCL via ASDF-VM on an M1 Mac, and I am running into the following bug trying to build 2.2.7: beginning GENESIS, creating headers in "src/runtime/genesis" real 0m23.834s user 0m21.823s sys 0m1.858s //entering…
exysle
  • 11
  • 1
1
vote
1 answer

asdf-vm: Can I use global packages associated with the latest installed version of a runtime when working on a project that uses an older runtime?

I will try to explain my question with an example. The contents of my ~./default-gems…
1
vote
1 answer

asdf errors when starting Linux shell

Sorry it's hard to be specific here but I'm struggling to pin down the source of various error messages in my Linux shell with asdf. I've got Fish shell 3.4.0 running on a RHEL 8.5 GNU/Linux system, and have installed and used asdf with it for…
hpy
  • 1,989
  • 7
  • 26
  • 56
1
vote
1 answer

asdf not working after upgrade to macOS Monterey

After upgrading my machine from macOS Mojave to macOS Monterey, asdf is not setting the python version correctly. The base information on my installation are the following: asdf info OS: Darwin MacBook-Pro.local 21.2.0 Darwin Kernel Version 21.2.0:…
E. Jaep
  • 2,095
  • 1
  • 30
  • 56
1
vote
1 answer

No version set for command java - asdf

I'm now using asdf on my Lubuntu machine in a bash environment and it gives me the message: stephane@stephane-pc:~/dev$ cd No version set for command java Consider adding one of the following versions in your config file at java…
Stephane
  • 11,836
  • 25
  • 112
  • 175
1
vote
1 answer

Does syncing ~/.asdf/installs between multiple computers cause problems?

I noticed that ~/.asdf/installs is by far the largest subfolder there, and thus wondered whether is it safe to sync? In a local network where several computers use asdf for a somewhat overlapping set of its plugins, it would be beneficial to…
Katrin Leinweber
  • 1,316
  • 13
  • 33
1
vote
1 answer

How to use different version of Elixir runtime for Visual Studio Code extension(ElixirLS) from locally set one(.tool_versions)

elixir(1.8.1) and erlang(21.3.5) are set locally via .tool-versions(ASDF) file. ElixirLS launched using above version of elixir but it requires higher version. ** (UndefinedFunctionError) function ElixirLS.Utils.OutputDevice.get_opts/0 is undefined…
Hongseok Yoon
  • 3,148
  • 8
  • 36
  • 51
1
vote
2 answers

Stock React Native app won't build on iOS (asdf?)

I'd like some help getting a stock app running following the official Getting Started. I downloaded iOS simulator 14.3. I run npx react-native init nuproject cd nuproject npx react-native run-ios I get nvm is not compatible with the "PREFIX"…
softcode
  • 4,358
  • 12
  • 41
  • 68
1
vote
0 answers

Is it possible to use "asdf install" (asdf-vm) on a Windows machine (for Node.js development)?

I've poked around the web and am only seeing instructions for Mac and Linux. Maybe it involves using Cygwin?
Aaron
  • 2,154
  • 5
  • 29
  • 42
1
vote
0 answers

How to install PHP using asdf

I am trying to install PHP using asdf on Ubuntu 20.04 LTS without success. While installing, it generates many errors regarding missing packages in the main installation like the absence of re2c, bison, libcurl, etc... I succeeded in install all…
Sapiosonic
  • 11
  • 3
1
vote
0 answers

`asdf list-all erlang` not showing recent versions

I am trying to install erlang OTP 22.2.8 via asdf, after following this setup guide. When I view the list of available versions, the most recent I can see is v19. R13B03 R13B04 R14A ... 19.0.1 19.0.2 Sys info: Distributor ID: Ubuntu Description: …
rico_mac
  • 888
  • 8
  • 22
1
vote
0 answers

Cannot install ruby with ASDF

I'm trying to install ruby 2.2.10 with ASDF without success. I tried to find on my own why it's this happening now. Not sure if some brew update it breaks it or what. Here I share the output of the install: asdf install elixir 1.10.2-otp-22 is…
murb83
  • 325
  • 3
  • 14
1
vote
1 answer

Dotnet high memory usage on Mac os

I have installed .Net Core 3.1.300 with asdf-vim and was following csharp tutorial. When i run: dotnet new console -n BranchesAndLoops -o . it does use a lot of memory. Is this the norm in C# world? Or have misconfigured something as a dotnet…
ogirginc
  • 4,948
  • 3
  • 31
  • 45