Mint banner
Mint

SwiftCLIOpen Source

Mint Overview

A package manager that installs and runs Swift command line tools. Mint makes installing, running and distributing these tools much easier. It installs your tools via Swift Package Manager and globally installs and caches builds by version on demand. You can easily run the latest version or a specific version of a tool, or even use different versions of a tool side by side. Due to its use of Swift Package Manger for building tools, any tool that currently supports SPM automatically supports installing and running with Mint.

Mint is designed to be used with Swift command line tools that build with the Swift Package Manager. It makes installing, running and distributing these tools much easier.

✅ easily run a specific version of a package
✅ link a package globally
✅ builds are cached by version
✅ use different versions of a package side by side
✅ easily run the latest version of a package
✅ distribute your own packages without recipes and formulas
✅ specify a list of versioned packages in a Mintfile for easy use

Homebrew is a popular method of distributing Swift executables, but that requires creating a formula and then maintaining that formula. Running specific versions of homebrew installations can also be tricky as only one global version is installed at any one time. Mint installs your package via SPM and lets you run multiple versions of that package, which are installed and cached in a central place.

If your Swift executable package builds with SPM, then it can be run with Mint! See Support for details.

Stay on top of new tools for iOS developers

Subscribe to get a convenient weekly roundup of iOS Dev Tools' newest addition
of helpful and time-saving developer tools, services, and SDKs to get your job done faster.