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 big sur
64-bit linux
Apple Silicon big sur

Current versions:

stable 5.5


Depends on:

python@3.9 3.9.7 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

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

Requires: Xcode >= 12.3 (build)

An Xcode toolchain has been installed to:
    $(brew --prefix)/opt/swift/Swift-5.5.xctoolchain

This can be symlinked for use within Xcode:
    ln -s $(brew --prefix)/opt/swift/Swift-5.5.xctoolchain ~/Library/Developer/Toolchains/Swift-5.5.xctoolchain


Installs (30 days)
swift 357
Installs on Request (30 days)
swift 358
Build Errors (30 days)
swift 6
Installs (90 days)
swift 813
Installs on Request (90 days)
swift 814
Installs (365 days)
swift 1,815
Installs on Request (365 days)
swift 1,804
Fork me on GitHub