swift-helper

main

A package to help build and manage local Swift development
adammcarter/swift-helper

🛠️ swift-helper

This package automates the setup, build, and installation of local Swift toolchains.

Setting up the toolchain and knowing what to build when wanting to contribute to the Swift repo can be daunting when starting out.

This tool aims to remove this initial complexity and lower the barrier to entry for anyone wanting to contribute to Swift and its related repos through a simple and easy to use command line interface tool.

🚀 Installation

Important

This tool assumes you are running on a Mac with an Apple Silicon chip (M1, M2 etc.)

Run this command to check your Mac is running on Apple Silicon, if it prints arm, you're good to go.

uname -p

Install the swift-helper tool:

source <(curl -sL https://raw.githubusercontent.com/adammcarter/swifthelper/main/install.sh)

💻 Usage

Preflight: Clone the Swift repo

Warning

Skip this step if you've already cloned the Swift repo.

Important

Clones in to your current working directory.

swift-helper clone

1. Setup your environment

swift-helper doctor

2. Build your toolchain

swift-helper build

3. Activate in Xcode Select Swift Local from the Xcode > Toolchains menu.

Xcode, Toolchains menu

Description

  • Swift Tools 6.0.0
View More Packages from this Author

Dependencies

Last updated: Sun Mar 29 2026 07:38:25 GMT-0900 (Hawaii-Aleutian Daylight Time)