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:

Apple Silicon sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 5.10

Keg-only

Depends on:

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

Depends on when building from source:

cmake 3.29.3 Cross-platform make
ninja 1.12.1 Small build system for use with gyp or CMake

Requires: Xcode >= 13.3 (build)

An Xcode toolchain has been installed to:
    $HOMEBREW_PREFIX/opt/swift/Swift-5.10.xctoolchain

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

Analytics:

Installs (30 days)
swift 1,134
swift --HEAD 2
Installs on Request (30 days)
swift 176
swift --HEAD 2
Build Errors (30 days)
swift 0
Installs (90 days)
swift 4,548
swift --HEAD 4
Installs on Request (90 days)
swift 1,915
swift --HEAD 4
Installs (365 days)
swift 10,597
swift --HEAD 9
Installs on Request (365 days)
swift 5,045
swift --HEAD 9
Fork me on GitHub