swift

Install command:
brew install swift

High-performance system programming language

https://www.swift.org

License: Apache-2.0

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

Formula code: swift.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 5.7.3

Keg-only

Depends on:

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

Depends on when building from source:

cmake 3.26.0 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:
    $HOMEBREW_PREFIX/opt/swift/Swift-5.7.xctoolchain

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

Analytics (macOS):

Installs (30 days)
swift 35
Installs on Request (30 days)
swift 36
Build Errors (30 days)
swift 0
Installs (90 days)
swift 1,189
Installs on Request (90 days)
swift 1,177
Installs (365 days)
swift 4,384
Installs on Request (365 days)
swift 4,317

Analytics (Linux):

Installs (30 days)
swift 76
Installs on Request (30 days)
swift 2
Build Errors (30 days)
swift 0
Installs (90 days)
swift 1,478
Installs on Request (90 days)
swift 256
Installs (365 days)
swift 2,508
Installs on Request (365 days)
swift 790
Fork me on GitHub