# 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. Also installable with nix: nix profile install nixpkgs#faketty.

## 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
- **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>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- faketty (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.20
## 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

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


## Combined YAML source

View the package source record on GitHub. [combined/faketty.yml](https://github.com/mxcl/pkgdb/blob/main/combined/faketty.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
