# fx mit Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für fx in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:fx
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install fx
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fx
```

  Evidenz: MacPorts ports tree: sysutils/fx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add fx
```

  Evidenz: Alpine Linux edge package indexes: fx from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#fx
```

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

- pacman (92%):

```sh
sudo pacman -S fx
```

  Evidenz: Arch Linux sync databases: fx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install fx
```

  Evidenz: openSUSE Tumbleweed package metadata: fx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/fx
```

  Evidenz: Scoop official bucket manifest trees: bucket/fx.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:fx
- **Paketmanager:** Homebrew
- **Version:** 39.2.0
- **Quellzusammenfassung:** Terminal JSON viewer
- **Homepage:** <https://fx.wtf>
- **Repository:** <https://github.com/antonmedv/fx>
- **Zuletzt aktualisiert:** 2026-07-25T20:54:35-04:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- fx (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 39.2.0
## Projektgeschichte und Nutzung

fx is a terminal JSON viewer and processor that combines an interactive TUI with a JavaScript-powered command-line transformation model. Its current official site describes it as a CLI for JSON that can show JSON interactively, transform input with JavaScript, process streaming JSON, and also handle YAML and TOML.

### Projektgeschichte

The GitHub repository was created in January 2018, and GitHub Releases show 1.0.3 published the next day. The project is styled as f(x) in its README and documentation, with the docs explaining the name as the idea of applying a function to input data.

fx is now written in Go and embeds the goja JavaScript engine. Its release checklist shows a multi-channel distribution workflow: version bumps in the Go source, Snapcraft metadata, and npm package metadata, followed by npm publication, GitHub Actions for brew, snap, and Docker, and binary uploads to GitHub Releases.

### Adoptionsgeschichte

fx fits into the post-jq wave of terminal JSON tools: it keeps JSON exploration in the terminal but adds a navigable interface, path suggestions, regex search, printing selected values to stdout, and JavaScript expressions instead of a separate query DSL. Supplied package-manager facts list packaging across Homebrew, apk, MacPorts, Nix, Arch, Scoop, and zypper.

### Wie es verwendet wird

Typical use is either `fx data.json` or piping JSON into `fx` for interactive browsing. In processing mode, arguments are JavaScript functions or shorthand expressions such as `.name`, and input data flows through each expression in sequence. The docs also describe streaming mode for line-delimited or concatenated JSON and a slurp option for collective array processing.

### Warum Paket-Nerds sich dafür interessieren

Package maintainers care about fx because it ships as a single Go-based terminal binary while still exposing JavaScript as the transformation language. It is a representative modern CLI package that crosses TUI browsing, JSON pretty-printing, shell pipelines, npm distribution, binary releases, Homebrew, Snap, and Docker.

### Zeitleiste

- 2018: GitHub repository created.
- 2018: GitHub Release 1.0.3 published.
- 2025: GitHub Release 39.2.0 published.
- 2026: Repository metadata showed continued activity.

### Related projects

- The upstream README lists other Anton Medvedev terminal projects as related work: walk, howto, and countdown. In everyday package-manager context, fx is often evaluated near jq-style JSON processors, but the official sources emphasize fx's own TUI and JavaScript processing model rather than positioning it as a jq clone.

### Quellen

- <https://api.github.com/repos/antonmedv/fx>
- <https://fx.wtf/>
- <https://fx.wtf/getting-started>
- <https://github.com/antonmedv/fx>
- <https://github.com/antonmedv/fx/releases>
- <https://raw.githubusercontent.com/antonmedv/fx/master/README.md>
- <https://raw.githubusercontent.com/antonmedv/fx/master/RELEASE.md>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Nix - fx: normalized package name match | nixpkgs package indexes: pkgs/by-name/fx/fx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - fx - 39.2.0-r7: normalized package name match | Alpine Linux edge package indexes: fx from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line tool and terminal JSON viewer | https://github.com/antonmedv/fx
- apk - fx-doc - 39.2.0-r7: normalized package name match | Alpine Linux edge package indexes: fx-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line tool and terminal JSON viewer (documentation) | https://github.com/antonmedv/fx
- pacman - fx - 39.2.0-1: normalized package name match | Arch Linux sync databases: fx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Command-line tool and terminal JSON viewer | https://github.com/antonmedv/fx
- zypper - fx - 39.2.0-1.7: normalized package name match | openSUSE Tumbleweed package metadata: fx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Terminal JSON viewer | https://fx.wtf/
- MacPorts - fx: normalized package name match | MacPorts ports tree: sysutils/fx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/fx: normalized package name match | Scoop official bucket manifest trees: bucket/fx.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## Quellen

- 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
