# Install faker with Homebrew, apt

Python-based fake data generator. Version 40.36.0 via Homebrew; verified 2026-07-24. Also installable with debian: sudo apt install faker.

## Install

```sh
sudo av install brew:faker
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install faker
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install faker
```

  Evidence: Debian stable package indexes: faker from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:faker
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/faker>
- **Version:** 40.36.0
- **Source summary:** Python-based fake data generator
- **Homepage:** <https://faker.readthedocs.io>
- **Repository:** <https://github.com/joke2k/faker>
- **Upstream docs:** <https://faker.readthedocs.io>
- **License:** MIT
- **Source archive:** <https://github.com/joke2k/faker/archive/refs/tags/v40.36.0.tar.gz>
- **Last updated:** 2026-07-24T23:52:44Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- faker (cli)
- faker (alias)

## Dependencies

- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 40.36.0
- Package-manager updated: 2026-07-24
- Local data: ok
- Upstream repository: https://github.com/joke2k/faker
- Upstream latest detected: v40.36.0 (current)
## Project history and usage

Faker is a Python package and command-line tool for generating fake data such as names, addresses, text, localized values, and provider-specific test fixtures.

### Project history

The project presents itself as a Python fake-data generator inspired by PHP Faker, Perl Faker, and Ruby Faker. PyPI metadata has an archived 0.0.2 upload in 2010, while the repository changelog records 0.1 as the first release in 2012; subsequent history shows years of provider, locale, CLI, and compatibility work.

Faker was previously distributed under the fake-factory name; the official README says that package name was deprecated by the end of 2016, and the changelog records the PyPI package rename to Faker in 2016.

### Adoption history

Faker became common infrastructure for Python tests, fixtures, demos, anonymization workflows, and sample-data generation. The official docs call out direct Python use, command-line invocation, pytest fixture support, bundled providers, community providers, and localization.

The input package facts show it packaged for Homebrew, Debian, and Ubuntu, which reflects adoption beyond PyPI into operating-system and developer workstation package channels.

### How it is used

Typical use starts with installing Faker and constructing a faker.Faker() generator, then calling provider methods such as name(), address(), text(), or locale-specific providers. The installed faker CLI can emit generated values directly and supports output files, locales, repeat counts, separators, and custom provider imports.

### Why package nerds care

Package maintainers care about Faker because it sits at the intersection of libraries and CLI tooling: it exposes a Python API, a command-line executable, localization datasets, pytest integration, and a large provider surface that changes as real-world formats evolve.

Its package-history details matter during dependency curation because older ecosystems may still reference fake-factory, Python 2 compatibility ended at the 3.x/4.x transition, and modern releases continuously add locale data and provider behavior.

### Timeline

- 2010: PyPI metadata has an archived Faker 0.0.2 upload.
- 2012: Official changelog records Faker 0.1 as the first release.
- 2016: PyPI package was renamed to Faker and fake-factory was deprecated.
- 2018: Faker 1.0.0 was released.
- 2019: Faker 3.0.0 added multiple-locale data generation.
- 2020: Faker 4.0.0 removed Python 2.7 support; Faker 5.0.0 dropped Python 3.5 support.

### Related projects

- The official README credits PHP Faker, Perl Faker, and Ruby Faker as inspirations, and the docs list bundled and community providers as extension points around the core generator.

### Sources

- <https://faker.readthedocs.io/en/master/ - official documentation for purpose, usage, providers, localization, pytest fixture, and CLI.>
- <https://pypi.org/pypi/Faker/json - official PyPI metadata for package name, summary, project URLs, and release metadata.>
- <https://raw.githubusercontent.com/joke2k/faker/master/CHANGELOG.md - official changelog for first release, package rename, major releases, multiple-locale support, and Python support changes.>
- <https://raw.githubusercontent.com/joke2k/faker/master/README.rst - official README for project description, inspirations, compatibility notes, fake-factory deprecation, and basic usage.>
- source_facts.package-manager - supplied input lists Homebrew, Debian, and Ubuntu packaging.


## Security Notes

No matching local secret-handling manifest was found for faker. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** faker
- **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

- Debian apt - faker - 33.3.1-1: normalized package name match | Debian stable package indexes: faker from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python program that generates fake data | https://github.com/joke2k/faker
- Debian apt - faker-doc - 33.3.1-1: normalized package name match | Debian stable package indexes: faker-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Faker is a Python library that generates fake data (Documentation) | https://github.com/joke2k/faker
- Debian apt - python3-fake-factory - 33.3.1-1: normalized package name match | Debian stable package indexes: python3-fake-factory from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Faker is a Python library that generates fake data (Python 3) | https://github.com/joke2k/faker
- Ubuntu apt - faker - 22.0.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: faker from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python program that generates fake data | https://github.com/joke2k/faker
- Ubuntu apt - python3-fake-factory - 22.0.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-fake-factory from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Faker is a Python library that generates fake data (Python 3) | https://github.com/joke2k/faker


## Related links

- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://pkg.so/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [csvkit](https://pkg.so/brew/csvkit/) - Shares pkgdb curated category or tags: cli, data, python.
- [visidata](https://pkg.so/brew/visidata/) - Shares pkgdb curated category or tags: cli, data, python.
- [scrapy](https://pkg.so/brew/scrapy/) - Shares pkgdb curated category or tags: cli, data, python.
- [sqlite-utils](https://pkg.so/brew/sqlite-utils/) - Shares pkgdb curated category or tags: cli, data, python.
- [iredis](https://pkg.so/brew/iredis/) - Shares pkgdb curated category or tags: cli, data, python.
- [kaskade](https://pkg.so/brew/kaskade/) - Shares pkgdb curated category or tags: cli, data, python.
- [trafilatura](https://pkg.so/brew/trafilatura/) - Shares pkgdb curated category or tags: cli, data, python.
- [rig](https://pkg.so/brew/rig/) - Shares pkgdb curated category or tags: cli, data, fake-data, test-data.
- [faker-br](https://pkg.so/npm/faker-br/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, faker, generator, test.
- [jr](https://pkg.so/brew/jr/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, data-generation, generation, test.
- [adios2](https://pkg.so/brew/adios2/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, generation, python, python-3-14.

## Combined YAML source

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


## Sources

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
