About SwiftlyGo
SwiftlyGo is a re-imagining of the swiftly
toolchain installer created by @patrick.
While it shares some features, Swiftlygo has been designed specifically for use with Debian / Ubuntu Linux distributions, and as a replacement for the Swift Community Apt Repository
that was maintained by @futurejones.
The main design focuses are:-
- simple installation
- simple and easy to use
- maximum compatibility with popular OS distributions.
SwiftlyGo v1.0 is compatible with x86_64 and aarch64 Linux distributions based on Debian and Ubuntu.
This includes Debian 12 and Ubuntu 24.04 and popular releases such as LinuxMint, popOS, RaspberryPi OS, Zorin, Elementary, etc.
The Swift toolchain packages installed by SwiftlyGo are the official releases from swift.org and are sourced directly from the swift.org downloads.
SwiftlyGo uses the swift.org API to get the latest information about the Swift toolchains available for your system.
Installation
Installation of SwiftlyGo is quick and simple using the install
script.
The installation script will check your OS system for Swift compatibility.
Once installed SwiftlyGo is ready for immediate use with no further setup necessary.
curl -L https://swiftlygo.xyz/install.sh | bash
Checking your OS system for Swift compatibility ...
Success! Your OS System is compatible with Swift for Debian 12 / aarch64
Installing SwiftlyGo ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7296k 100 7296k 0 0 5220k 0 0:00:01 0:00:01 --:--:-- 11.4M
Congratulations! SwiftlyGo has been successfully installed.
____ _ __ _ _ ____
/ ___|_ _(_)/ _| |_| |_ _ / ___| ___
\___ \ \ /\ / / | |_| __| | | | | | _ / _ \
___) \ V V /| | _| |_| | |_| | |_| | (_) |
|____/ \_/\_/ |_|_| \__|_|\__, |\____|\___/
|___/ v1.0
For help run 'swiftlygo -h'
Usage
SwiftlyGo has 4 easy to use commands install, delete, activate and list.
install
- installs the Swift version requested, this can be 'latest' or a specific version like '5.10.1'delete
- deletes the Swift version requestedactivate
- activates the Swift version requestedlist
- lists the Swift versions available for your system, the Swift versions installed locally and which Swift version is currently active..
Quick Start Guide
Install Swift
To install the latest version of Swift use this command:-
sudo swiftlygo install latest
Do you want to install Swift version 6.0.3? [Y/n]: y
Installing ...
2025/02/07 23:58:45 Downloading from: https://download.swift.org/swift-6.0.3-release/debian12-aarch64/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE-debian12-aarch64.tar.gz
Downloading Swift ... -
File successfully downloaded.
Extracting Swift to: /usr/libexec/swift/6.0.3
Extracting Swift file ... -
Swift 6.0.3 has been installed successfully.
swift --version
Swift version 6.0.3 (swift-6.0.3-RELEASE)
Target: aarch64-unknown-linux-gnu
List Available Swift Versions
To view available Swift versions and the Swift versions installed locally on your system use this command:-
sudo swiftlygo list
Swift versions available for installation on this system:-
5.10.1, 6.0, 6.0.1, 6.0.2, 6.0.3
Locally available versions:-
5.10.1, 6.0.3
The Swift version currently active is - 6.0.3
Activate a Swift Version
Here, when we run swiftlygo list
we can see there are 2 locally available versions, 5.10.1 and 6.0.3.
Version 6.0.3 is currently active.
To switch to and activate 5.10.1 use this command:-
sudo swiftlygo activate 5.10.1
Are you sure you want to activate version 5.10.1? [Y/n]: y
Version 5.10.1 is now activated.
Delete a Swift Version
To delete a version of Swift use this command:-
sudo swiftlygo delete 5.10.1
Are you sure you want to delete version 5.10.1? [Y/n]: y
Deleting ...
Version 5.10.1 deleted.
Removing SwiftlyGo
If you no longer want to use SwiftlyGo, you can easily remove it using the removeSwiftlygo
command.
sudo swiftlygo removeSwiftlygo
Are you sure you want to remove SwiftlyGo? [Y/n]: y
Removing swiftlygo ...
removed swiftlygo symlink - /usr/bin/swiftlygo
removed swiftlygo directory - /usr/libexec/swiftlygo
SwiftlyGo removed successfully
This command only removes the SwiftlyGo app.
Swift installations will remain active and installed on your system.
SwiftlyGo can easily be re-installed by running the install script.
curl -sL https://swiftlygo.xyz/install.sh | sudo bash
More Information
Website
swiftlygo.xyz
Just a simple landing page.
Github Repository
github.swiftlygo
Documentation, Website and Source Code.
Note: This repo currently only contains the documentation and website.
The source code will be released shortly and will be made available as open source.
Thanks
I hope you find SwiftlyGo useful and I am looking forward to hearing your thoughts and feedback!