# Install faketty with Homebrew, Nix

Wrapper to exec a command in a pty, even if redirecting the output. Version 1.0.20 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:faketty
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install faketty
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#faketty
```

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

## Package facts

- **Package key:** brew:faketty
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/faketty>
- **Version:** 1.0.20
- **Source summary:** Wrapper to exec a command in a pty, even if redirecting the output
- **Homepage:** <https://github.com/dtolnay/faketty>
- **Repository:** <https://github.com/dtolnay/faketty>
- **Upstream docs:** <https://github.com/dtolnay/faketty#readme>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/dtolnay/faketty/archive/refs/tags/1.0.20.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- faketty (cli)
- faketty (alias)

## Build dependencies

- rust

## 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: 1.0.20
- Local data: ok
- Upstream repository: https://github.com/dtolnay/faketty
- Upstream latest detected: 1.0.20 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

faketty is a Rust command wrapper that runs another command inside a pseudoterminal even when stdout or stderr are redirected.

### Project history

The GitHub repository was created in September 2020. Its README frames the tool as similar to script(1), but with a key difference: faketty preserves distinct stdout and stderr streams instead of merging output through a single pty.

### Adoption history

faketty is distributed through Cargo and packaged by Homebrew and Nix according to the input metadata. That makes it a small developer-tool package for build logs, CI scripts, and command wrappers that need terminal-style output without losing stream separation.

### How it is used

The documented example wraps a build command such as bazel build while redirecting stdout and stderr to separate log files. This keeps programs that detect terminals from disabling colors, progress bars, or other tty-dependent behavior.

### Why package nerds care

faketty is a concise packaging target because it solves one Unix tooling edge case cleanly: preserve terminal behavior for the child process while keeping stdout and stderr demultiplexed for logs.

### Timeline

- 2020-09: The GitHub repository is created.
- 2026-01: Version 1.0.20 is published on GitHub releases.

### Related projects

- faketty is explicitly related to script(1) and Unix pseudoterminal tooling, but exists for the separate-stream logging case that script(1) does not cover.

### Sources

- <https://github.com/dtolnay/faketty>
- <https://github.com/dtolnay/faketty#readme>
- <https://api.github.com/repos/dtolnay/faketty>
- <https://api.github.com/repos/dtolnay/faketty/releases?per_page=5>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** faketty
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - faketty: normalized package name match | nixpkgs package indexes: pkgs/by-name/fa/faketty/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [aha](https://www.automicvault.com/pkg/brew/aha/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [amtterm](https://www.automicvault.com/pkg/brew/amtterm/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ansifilter](https://www.automicvault.com/pkg/brew/ansifilter/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ccat](https://www.automicvault.com/pkg/brew/ccat/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [clive](https://www.automicvault.com/pkg/brew/clive/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [colordiff](https://www.automicvault.com/pkg/brew/colordiff/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [colormake](https://www.automicvault.com/pkg/brew/colormake/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [et](https://www.automicvault.com/pkg/brew/et/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [rlwrap](https://www.automicvault.com/pkg/brew/rlwrap/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, terminal, wrapper.
- [termshot](https://www.automicvault.com/pkg/brew/termshot/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, output, terminal.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
