# Install smug with Homebrew, MacPorts, Nix

Automate your tmux workflow. Version 0.3.19 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#smug.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install smug
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install smug
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:smug
- **Package manager:** Homebrew
- **Version:** 0.3.19
- **Source summary:** Automate your tmux workflow
- **Homepage:** <https://github.com/ivaaaan/smug>
- **Repository:** <https://github.com/ivaaaan/smug>
- **Last updated:** 2026-07-26T04:03:42+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- smug (alias)

## Install behavior

- Bottle: not available

## Freshness

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

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

### Project history

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.

### Adoption history

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.

### How it is used

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

### Why package nerds care

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.

### Timeline

- 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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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
## Other Package-Manager Records

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


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