Swift plugin for https://github.com/asdf-vm/asdf/
This plugin requires curl
, jq
, tar
, gzip
and libtinfo
version 5. On Arch Linux you can
install them with:
sudo pacman -S curl jq tar gunzip ncurses5-compat-libs
To install this plugin you can run the following command:
asdf plugin add swift https://github.com/hqnna/asdf-swift
Then you can list all available versions of Swift with the following command:
asdf list all swift
To install a specific version of Swift you can run the following command:
asdf install swift 5.9.1
asdf global swift 5.9.1