# 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.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/mint>
- **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>
- **Upstream docs:** <https://github.com/yonaskolb/Mint#readme>
- **License:** MIT
- **Source archive:** <https://github.com/yonaskolb/Mint/archive/refs/tags/0.18.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mint (cli)
- mint (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.18.0
- Local data: ok
- Upstream repository: https://github.com/yonaskolb/Mint
- Upstream latest detected: 0.18.0 (current)
- info: No package-manager update timestamp was available.
## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mint
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** mintoolkit
- **Requirements:** xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [composer](https://www.automicvault.com/pkg/brew/composer/) - Shares av.db curated category or tags: cli, dependency-manager, developer-tools, package-management, package-manager.
- [conan](https://www.automicvault.com/pkg/brew/conan/) - Shares av.db curated category or tags: cli, dependency-manager, developer-tools, package-management, package-manager.
- [akku](https://www.automicvault.com/pkg/brew/akku/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager.
- [bower](https://www.automicvault.com/pkg/brew/bower/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager.
- [cabal-install](https://www.automicvault.com/pkg/brew/cabal-install/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager.
- [clib](https://www.automicvault.com/pkg/brew/clib/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager.
- [conda-lock](https://www.automicvault.com/pkg/brew/conda-lock/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager.
- [corepack](https://www.automicvault.com/pkg/brew/corepack/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager.
- [vrc-get](https://www.automicvault.com/pkg/brew/vrc-get/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, line.
- [corral](https://www.automicvault.com/pkg/brew/corral/) - Local package facts share a topical domain. Shared terms: cli, dependency, dependency-manager, developer, developer-tools.
- [mint](https://www.automicvault.com/pkg/npm/mint/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/mint.yml](https://github.com/automic-vault/db/blob/main/combined/mint.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
