Skip to content

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 --version

See a mise guide for Swift developers on how to use mise with swift.

Tool Options

The following tool-options are available for the swift backend. These options go in the [tools] section in mise.toml.

install_env

Set environment variables for install-time commands run by the core swift backend:

toml
[tools]
swift = { version = "latest", install_env = { HTTPS_PROXY = "http://proxy.example" } }

Settings

swift.gpg_verify

  • Type: boolean(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.

MIT LicenseCopyright © 2026en.dev