Install a Swift toolchain or switch the one in use. Source: swiftly CLI reference. Other subcommands (list, update, uninstall, run) are left out.
swiftly installInstall a stable release or snapshot toolchain; with no version, installs the one selected by .swift-version.
versionuseassume_yesstring · positional 0latestmain-snapshotboolean--useboolean--verifyboolean--assume-yesboolean--verboseswiftly useSet the in-use or default toolchain; with no toolchain, prints the one currently in use.
toolchainglobal_defaultassume_yesstring · positional 0latestmain-snapshotxcodeboolean--global-defaultboolean--print-locationboolean--assume-yesrefmanual2026-10-27refmanual2026-10-27Before it fills your prompt, Otty checks the installed swiftly against its version. A form that does not match your version is not offered.