Skip to content

scd toolchain

Manages Swift toolchain installations used by scd for building. Supports listing available and installed versions, installing a specific version, and installing the latest release. Toolchains are fetched from the configured package manager source.

scd toolchain <subcommand> [options]
SubcommandDescription
list-availableList all available versions and URLs for a package
list-installedList all installed versions and their paths
installInstall a specific version of a package
install-latestInstall the latest available version
latest-installedPrint the path to the latest installed version
OptionDescription
--packageOptional package name
--package-managerPackage manager to use: auto (default), none, brew, scade
--package-manager-repositoryURL or name of the package manager manifest
--install-pathCustom installation directory (scade package manager only)
--verboseEnable verbose output

All commands also accept Global Options.

Terminal window
# List available toolchain versions
scd toolchain list-available
# Install a specific version
scd toolchain install --version 6.0.2-1
# Install the latest version
scd toolchain install-latest
# Check what is installed
scd toolchain list-installed