Swift experimental
mise can be used to manage multiple versions of swift on the same system. Swift is supported for macos and linux.
Usage
Use the latest stable version of swift:
sh
mise use -g swift
swift --versionSee a mise guide for Swift developers on how to use mise with swift.
Settings
swift.gpg_verify
- Type:
Bool(optional) - Env:
MISE_SWIFT_GPG_VERIFY - Default:
None
Use gpg to verify swift tool signatures.
swift.platform
- Type:
string - Env:
MISE_SWIFT_PLATFORM - Default:
"osx" | "windows10" | "ubuntu20.04" | "ubuntu22.04" | "ubuntu24.04" | "amazonlinux2" | "ubi9" | "fedora39"
Override the platform to use for precompiled binaries.