Install command:
brew install swift

High-performance system programming language


License: Apache-2.0

/api/formula/swift.json (JSON API)

/api/bottle/swift.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel catalina

Current versions:

stable 5.2.5

Revision: 1


Depends on when building from source:

cmake 3.21.1 Cross-platform make
ninja 1.10.2 Small build system for use with gyp or CMake

Requires: Xcode >= 11.2 (build)

The toolchain has been installed to:
    $(brew --prefix)/opt/swift/Swift-5.2.5.xctoolchain

You can find the Swift binary at:
    $(brew --prefix)/opt/swift/Swift-5.2.5.xctoolchain/usr/bin/swift

You can also symlink the toolchain for use within Xcode:
    ln -s $(brew --prefix)/opt/swift/Swift-5.2.5.xctoolchain ~/Library/Developer/Toolchains/Swift-5.2.5.xctoolchain


Installs (30 days)
swift 108
Installs on Request (30 days)
swift 108
Build Errors (30 days)
swift 3
Installs (90 days)
swift 287
Installs on Request (90 days)
swift 286
Installs (365 days)
swift 1,656
Installs on Request (365 days)
swift 1,585
Fork me on GitHub