LoginSignup
1
0

wslでnerves その21

Last updated at Posted at 2023-11-17

概要

wsl(wsl2じゃない)でnervesやってみる。
asdfが魔法なので、コマンドをメモる。

起動する。

$ . "$HOME/.asdf/asdf.sh"

インストールできるバージョン

$ asdf list-all erixir

インストールされているバージョン

$ asdf list elixir

インストールする

$ asdf install elixir 1.15.7-otp-26

現在の設定

$ asdf current

カレントバージョンを変更する。

$ asdf local elixir 1.15.6-otp-26

カレントバージョンを設定する。

$ asdf global elixir 1.15.7-otp-26

どこに、インストールされるの

/home/root/.asdf/installs/elixir/1.15.6-otp-26/.mix/archives/hex-2.0.6

からくりは

  • asdf は、 $PATH の前に、 shims のディレクトリを挿入することで動作します。

以上。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0