Install command:
brew install swift

High-performance system programming language


License: Apache-2.0

Formula JSON API: /api/formula/swift.json

Formula code: swift.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon ventura
big sur
Intel ventura
big sur
64-bit linux

Current versions:

stable 5.8.1

Revision: 1


Depends on:

python@3.11 3.11.5 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

cmake 3.27.6 Cross-platform make
ninja 1.11.1 Small build system for use with gyp or CMake

Requires: Xcode >= 13.0 (build)

An Xcode toolchain has been installed to:

This can be symlinked for use within Xcode:
    ln -s $HOMEBREW_PREFIX/opt/swift/Swift-5.8.xctoolchain ~/Library/Developer/Toolchains/Swift-5.8.xctoolchain


Installs (30 days)
swift 538
Installs on Request (30 days)
swift 232
Build Errors (30 days)
swift 19
Installs (90 days)
swift 1,620
Installs on Request (90 days)
swift 671
Installs (365 days)
swift 5,285
Installs on Request (365 days)
swift 2,592
Fork me on GitHub