Install Swift | Swift-Arm

If your system is compatible you will be presented with a menu which will allow you to choose which version of swift is installed.

1) (main) latest – This will update to the latest release of Swift available
2) Swift version 5.4.* – this will update to the latest point release of Swift 5.4
3) Swift version 5.5.* – this will update to the latest point release of Swift 5.5
4) Swift version 5.6.* – this will update to the latest point release of Swift 5.6

NOTE 1: The number of different versions of swift available will differ depending on the distribution/version.
NOTE 2: If installing on Raspberry Pi OS/Raspbian arm6/7 32bit, the only swift version available at the moment is swift-5.1.5 so there will be no menu presented

Read more here: Source link