# Install smug with Homebrew, MacPorts, Nix

Automate your tmux workflow. Version 0.3.19 via Homebrew; verified 2026-06-30.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/smug>
- **Version:** 0.3.19
- **Source summary:** Automate your tmux workflow
- **Homepage:** <https://github.com/ivaaaan/smug>
- **Repository:** <https://github.com/ivaaaan/smug>
- **Upstream docs:** <https://github.com/ivaaaan/smug#readme>
- **License:** MIT
- **Source archive:** <https://github.com/ivaaaan/smug/archive/refs/tags/v0.3.19.tar.gz>
- **Last updated:** 2026-06-30T09:55:42Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- smug (cli)
- smug (alias)

## Build dependencies

- go

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.3.19
- Package-manager updated: 2026-06-30
- Local data: ok
- Upstream repository: https://github.com/ivaaaan/smug
- Upstream latest detected: v0.3.19 (current)
## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** smug
- **Version Scheme:** 0
- **Revision:** 0
- **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 - 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [byobu](https://www.automicvault.com/pkg/brew/byobu/) - Shares av.db curated category or tags: cli, productivity, terminal, tmux.
- [tmux](https://www.automicvault.com/pkg/brew/tmux/) - Shares av.db curated category or tags: cli, productivity, sessions, terminal.
- [wemux](https://www.automicvault.com/pkg/brew/wemux/) - Shares av.db curated category or tags: cli, productivity, terminal, tmux.
- [cbonsai](https://www.automicvault.com/pkg/brew/cbonsai/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [eless](https://www.automicvault.com/pkg/brew/eless/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [nvimpager](https://www.automicvault.com/pkg/brew/nvimpager/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [page](https://www.automicvault.com/pkg/brew/page/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [sc-im](https://www.automicvault.com/pkg/brew/sc-im/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [tmuxinator](https://www.automicvault.com/pkg/brew/tmuxinator/) - Local package facts share a topical domain. Shared terms: automation, cli, productivity, sessions, terminal.
- [tmux-sessionizer](https://www.automicvault.com/pkg/brew/tmux-sessionizer/) - Local package facts share a topical domain. Shared terms: cli, productivity, sessions, terminal, tmux.

## Combined YAML source

View the package source record on GitHub. [combined/smug.yml](https://github.com/automic-vault/db/blob/main/combined/smug.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
