No need to install any local swift compiler. Simply install podman/docker and either cp .bash_aliases in your $HOME or prepare your own container as
cd Docker && podman build -t swift-user . && podman run -it --rm --name swift-user swift-user
- Run the tests
swift test
- Build the sources
swift build
- Run the main program
swift run
- Build the documentation
swift package generate-documentation
- Preview the documentation
swift package --disable-sandbox preview-documentation --target spinswift