Install command:
brew install swift

High-performance system programming language


License: Apache-2.0

/api/formula/swift.json (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.20.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 111
Installs on Request (30 days)
swift 111
Build Errors (30 days)
swift 9
Installs (90 days)
swift 315
Installs on Request (90 days)
swift 313
Installs (365 days)
swift 2,495
Installs on Request (365 days)
swift 2,316
Fork me on GitHub