介绍 swiftly 1.0

  • Introduction: March 28, 2025, presents the first stable release of swiftly, a Swift version manager to simplify Swift toolchain installation, management and update.
  • Problem: The latest Swift with Xcode is for Apple platforms. Installing Swift on other platforms or different toolchain versions requires manual and error-prone steps.
  • Features:

    • Supports Linux (community-supported) and added macOS support.
    • Best for installing standalone toolchain, with commands like install, update, use different versions, list available snapshots, etc.
    • Can enforce a common toolchain version in a team by creating a .swift-version file.
    • Updated itself and uses Swift's features and ecosystem.
    • Written in Swift with access to standard library and other related projects.
    • Moved from shell program to self-installing binary to work well across platforms.
    • Detects OS and processor architecture using [swift.org] and [Swift Static Linux SDK].
  • Future: Will be the default way to install Swift outside of Xcode, with documentation providing more info on using in CI/CD, setting proxies, etc. It's an open source project with GitHub repository and Swift Forums for discussion.
  • Special Thanks: To Patrick Freed for creating and contributing swiftly.
阅读 10
0 条评论