Install command:
brew install swift

High-performance system programming language


License: Apache-2.0

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

Formula code on GitHub

Current versions:

stable 5.2.5
bottle 🍾 catalina, mojave

Revision: 1


Depends on when building from source:

cmake 3.19.3 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 109
Installs on Request (30 days)
swift 109
Build Errors (30 days)
swift 8
Installs (90 days)
swift 378
Installs on Request (90 days)
swift 370
Installs (365 days)
swift 2,569
Installs on Request (365 days)
swift 2,385
Fork me on GitHub