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

Keg-only

Depends on:

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

Depends on when building from source:

cmake 3.23.1 Cross-platform make
ninja 1.11.0 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 201
Installs on Request (30 days)
swift 201
Build Errors (30 days)
swift 0
Installs (90 days)
swift 1,054
Installs on Request (90 days)
swift 1,020
Installs (365 days)
swift 3,212
Installs on Request (365 days)
swift 3,147

Analytics (Linux):

Installs (30 days)
swift 94
Installs on Request (30 days)
swift 55
Build Errors (30 days)
swift 0
Installs (90 days)
swift 279
Installs on Request (90 days)
swift 133
Installs (365 days)
swift 583
Installs on Request (365 days)
swift 406
Fork me on GitHub