Skip to content

Add Install-Swift helper#47

Merged
iangrunert merged 1 commit into
mainfrom
ig/add-install-swift
Jul 8, 2026
Merged

Add Install-Swift helper#47
iangrunert merged 1 commit into
mainfrom
ig/add-install-swift

Conversation

@iangrunert

Copy link
Copy Markdown
Contributor

Adds an Install-Swift helper that installs the Swift toolchain for Windows via the existing Install-FromExe helper, and bumps the module to 0.7.0. Swift is becoming a required component for building WebKit.

The swift.org installer installs into the user profile and updates the user PATH (not the machine PATH), so the helper skips the machine-only verification in Install-FromExe and refreshes PATH from both targets before verifying.

Tested end-to-end in a Windows Server Core container: Install-Swift -Version 6.3.3 installs silently and both swift --version and swiftc --version report 6.3.3.

Adds a helper for installing the Swift toolchain for Windows, using the
generic Install-FromExe helper with silent installation. Swift is
becoming a required component for building WebKit. Bumps the module
version to 0.7.0.

The Swift installer places the toolchain under the user profile and
updates the user PATH rather than the machine PATH, so the built-in
Install-FromExe verification (which only refreshes the machine PATH) is
skipped and the PATH is refreshed from both targets before verifying.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant