# 使用 Homebrew, MacPorts, Nix 安装 smug

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

## 安装

```sh
sudo av install brew:smug
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install smug
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install smug
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#smug
```

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

## 软件包事实

- **软件包键:** brew:smug
- **软件包管理器:** Homebrew
- **版本:** 0.3.19
- **来源摘要:** Automate your tmux workflow
- **主页:** <https://github.com/ivaaaan/smug>
- **仓库:** <https://github.com/ivaaaan/smug>
- **最后更新:** 2026-07-26T04:03:42+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- smug (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Smug is a Go command-line session manager and task runner for tmux, aimed at starting a terminal development environment from one YAML configuration.

### 项目历史

The official repository was created in December 2020, and its first GitHub release, v0.1.0, was published two days later. The README describes it as inspired by tmuxinator and tmuxp, placing it in the long-running tmux session-manager niche.

### 采用历史

Smug is packaged for Homebrew, MacPorts, Nix, and Arch AUR according to the official README and supplied package metadata, which makes it a small but broadly discoverable terminal-workflow utility.

### 使用方式

Users define windows, panes, roots, hooks, and commands in YAML files under ~/.config/smug or in a project .smug.yml, then run commands such as smug start, smug stop, or smug <project>.

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

Package maintainers care about Smug because it is a compact Go CLI with release binaries and a familiar Homebrew-style install path, filling the same ergonomic space as tmuxinator/tmuxp without a Ruby or Python runtime.

### 时间线

- 2020: Official GitHub repository created.
- 2020: v0.1.0 published on GitHub releases.
- 2026: Official README lists Homebrew and MacPorts installation paths.

### Related projects

- tmux
- tmuxinator
- tmuxp

### 来源

- <https://api.github.com/repos/ivaaaan/smug>
- <https://api.github.com/repos/ivaaaan/smug/releases>
- <https://github.com/ivaaaan/smug>
- input source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: ~/.config/smug/*.yml, .smug.yml
## 其他软件包管理器记录

- Nix - smug: normalized package name match | nixpkgs package indexes: pkgs/by-name/sm/smug/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - smug: normalized package name match | MacPorts ports tree: sysutils/smug/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/smug.yml](https://github.com/mxcl/pkgdb/blob/main/combined/smug.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
