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

Bottle JSON API: /api/bottle/swift.json

Formula code: swift.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 5.6.3

Keg-only

Depends on:

python@3.10 3.10.6 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

cmake 3.24.2 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:
    $(brew --prefix)/opt/swift/Swift-5.6.xctoolchain

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

Analytics (macOS):

Installs (30 days)
swift 448
Installs on Request (30 days)
swift 433
Build Errors (30 days)
swift 2
Installs (90 days)
swift 1,124
Installs on Request (90 days)
swift 1,102
Installs (365 days)
swift 4,073
Installs on Request (365 days)
swift 3,978

Analytics (Linux):

Installs (30 days)
swift 154
Installs on Request (30 days)
swift 103
Build Errors (30 days)
swift 0
Installs (90 days)
swift 416
Installs on Request (90 days)
swift 247
Installs (365 days)
swift 943
Installs on Request (365 days)
swift 568
Fork me on GitHub