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:
macOS on Apple Silicon |
sequoia | ✅ |
---|---|---|
sonoma | ✅ | |
ventura | ✅ | |
macOS on Intel |
sonoma | ✅ |
ventura | ✅ | |
Linux | ARM64 | ✅ |
x86_64 | ✅ |
Current versions:
stable | ✅ | 6.0.3 |
Keg-only
Depends on:
python@3.13 | 3.13.2 | Interpreted, interactive, object-oriented programming language |
Depends on when building from source:
cmake | 4.0.0 | Cross-platform make |
ninja | 1.12.1 | Small build system for use with gyp or CMake |
Requires: Xcode >= 14.3 (build)
An Xcode toolchain has been installed to: $HOMEBREW_PREFIX/opt/swift/Swift-6.0.xctoolchain This can be symlinked for use within Xcode: ln -s $HOMEBREW_PREFIX/opt/swift/Swift-6.0.xctoolchain ~/Library/Developer/Toolchains/Swift-6.0.xctoolchain |
Analytics:
Installs (30 days) | |
---|---|
swift |
407 |
Installs on Request (30 days) | |
swift |
301 |
Build Errors (30 days) | |
swift |
10 |
Installs (90 days) | |
swift |
1,211 |
Installs on Request (90 days) | |
swift |
1,030 |
Installs (365 days) | |
swift |
12,562 |
swift --HEAD |
4 |
Installs on Request (365 days) | |
swift |
4,039 |
swift --HEAD |
4 |