# 使用 Homebrew, dnf, MacPorts, Nix 安装 mackup

查看 mackup 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mackup
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mackup
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mackup
```

  证据: MacPorts ports tree: sysutils/mackup/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install mackup
```

  证据: Fedora Rawhide package metadata: mackup from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mackup
```

  证据: nixpkgs package indexes: pkgs/by-name/ma/mackup/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:mackup
- **软件包管理器:** Homebrew
- **版本:** 0.11.1
- **来源摘要:** Keep your Mac's application settings in sync
- **主页:** <https://github.com/lra/mackup>
- **仓库:** <https://github.com/lra/mackup>
- **最后更新:** 2026-06-16T12:17:54+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mackup (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.11.1
## 项目历史与用法

Mackup is a Python command-line tool for backing up, restoring, and synchronizing application settings across workstations. Its official README frames the tool around repeatable workstation setup: install Mackup, run `mackup backup` on one machine, and run `mackup restore` on a new one.

### 项目历史

The official GitHub repository was created in April 2013. Mackup grew out of the Mac and Unix dotfile culture of keeping user preferences portable, but it packages that workflow around application-specific configuration knowledge rather than asking each user to maintain every path by hand.

The project originally emphasized linking configuration files into a synced storage directory, but the current README documents both copy mode and link mode. The README now warns that link mode is unsafe for preferences on macOS Sonoma and later, making copy-based backup and restore the preferred path on current macOS systems.

### 采用历史

Mackup is distributed through Homebrew and pip in its own quickstart, and the batch input records additional package-manager presence in DNF, MacPorts, and Nix. The repository metadata captured during this run showed more than fifteen thousand GitHub stars and hundreds of forks, making it one of the better-known tools in the Mac settings-sync niche.

### 使用方式

The common workflow is `mackup backup` to copy supported application settings into a Mackup storage directory, then `mackup restore` on another workstation. The CLI can scope commands to a single supported application, and `mackup list` reports the known application identifiers.

Mackup supports storage backends documented as Dropbox, Google Drive, iCloud, and a generic filesystem directory. Users customize behavior in `.mackup.cfg`, including storage selection and application allow or ignore lists, and can add custom application definitions under `~/.mackup/` or the XDG Mackup applications directory.

### 为什么软件包爱好者会关心

For package-manager users, Mackup is a bridge between installing software and making that software feel configured. It is significant because it turns a messy collection of per-application preference paths into a repeatable CLI operation that fits bootstrap scripts, Homebrew-driven Mac setup, and dotfile repositories.

### 时间线

- 2013: Official GitHub repository created.
- 2025: 0.10.x releases published.
- 2026: 0.11.x releases published, with current documentation emphasizing copy mode for modern macOS.

### Related projects

- Mackup sits near dotfile managers, Homebrew bootstrap scripts, cloud-synced configuration folders, and application preference backup tools. Its own docs relate it to Dropbox, Google Drive, iCloud, and Git-backed storage.

### 来源

- <https://api.github.com/repos/lra/mackup>
- <https://github.com/lra/mackup>
- <https://github.com/lra/mackup#readme>
- <https://github.com/lra/mackup/blob/master/doc/README.md>
- source_facts.package-manager


## 安全说明

没有找到 mackup 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: ~/.mackup.cfg, $MACKUP_CONFIG, $XDG_CONFIG_HOME/mackup/mackup.cfg, ~/.config/mackup/mackup.cfg
## 其他软件包管理器记录

- Nix - mackup: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/mackup/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - mackup - 0.11.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: mackup from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Keep your application settings in sync | https://github.com/lra/mackup
- MacPorts - mackup: normalized package name match | MacPorts ports tree: sysutils/mackup/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/mackup.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mackup.yml)


## 来源

- 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
