# Install mint with Homebrew, MacPorts, Nix

Dependency manager that installs and runs Swift command-line tool packages. Version 0.18.0 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#mint.

## Install

```sh
sudo av install brew:mint
```

## Agent safety answer

mint installs and runs Swift command-line packages for developer workflows.

- **Credential access:** Reads Git credentials, package config, and environment variables.
- **Remote mutation:** Can fetch packages and run installed tools that call remote systems.
- **Publish/artifact risk:** Can run release or code-generation tools that produce artifacts.
- **Recommended control:** Gate tool installs and secret-backed tool execution.
- **Agent-use guidance:** Allow version/list commands; require approval before installing or running tools that publish or deploy.

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mint
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mint
```

  Evidence: MacPorts ports tree: devel/mint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mint
```

  Evidence: nixpkgs package indexes: pkgs/by-name/mi/mint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:mint
- **Package manager:** Homebrew
- **Version:** 0.18.0
- **Source summary:** Dependency manager that installs and runs Swift command-line tool packages
- **Homepage:** <https://github.com/yonaskolb/Mint>
- **Repository:** <https://github.com/yonaskolb/Mint>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mint (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.18.0
## Project history and usage

Mint is the yonaskolb/Mint project's package manager for Swift command-line tools built with the Swift Package Manager. Its README frames the core workflow as installing and running a versioned executable package directly from a GitHub shorthand or Git URL, for example running SwiftLint or XcodeGen without maintaining a separate Homebrew formula for each tool.

### Project history

The tool fills a narrow gap in the Swift ecosystem. Homebrew is convenient for global installation, but the Mint README points out that formulas must be created and maintained and that running specific versions can be awkward. Mint instead uses SPM builds, caches builds by package version, permits multiple versions side by side, can link one version into ~/.mint/bin, and can run packages without linking them globally.

### How it is used

In project usage, Mintfile is the important adoption pattern: teams can commit a list of versioned Swift CLI dependencies and run mint bootstrap or mint run so every developer and CI job uses the same tools. The README lists common compatible tools such as SwiftLint, SwiftFormat, SwiftGen, Sourcery, Carthage, and XcodeGen, showing its role as dependency management for iOS and Swift developer tooling rather than as a general-purpose language package manager.

### Sources

- <https://formulae.brew.sh/formula/mint>
- <https://github.com/yonaskolb/Mint>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: Mintfile
## Other Package-Manager Records

- Nix - mint: normalized package name match | nixpkgs package indexes: pkgs/by-name/mi/mint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - mint: normalized package name match | MacPorts ports tree: devel/mint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/mint.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mint.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
