macOS
brew install fxlocal Homebrew formula metadata
sudo port install fxMacPorts ports tree · sysutils/fx/Portfile · source: api.github.com
brew
Terminal JSON viewer. Version 39.2.0 via Homebrew; verified from local package data.
install
brew install fxlocal Homebrew formula metadata
sudo port install fxMacPorts ports tree · sysutils/fx/Portfile · source: api.github.com
sudo apk add fxAlpine Linux edge package indexes · fx · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#fxnixpkgs package indexes · pkgs/by-name/fx/fx/package.nix · source: api.github.com
sudo pacman -S fxArch Linux sync databases · fx · source: geo.mirror.pkgbuild.com
sudo zypper install fxopenSUSE Tumbleweed package metadata · fx · source: download.opensuse.org
scoop install main/fxScoop official bucket manifest trees · bucket/fx.json · source: api.github.com
overview
Terminal JSON viewer
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
fx | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/antonmedv/fx
install metadata
| Package key | brew:fx |
|---|---|
| Version | 39.2.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/fx |
| Homepage | https://fx.wtf |
| Repository | https://github.com/antonmedv/fx |
| Upstream docs | https://fx.wtf/ |
| License | MIT |
| Source archive | https://github.com/antonmedv/fx/archive/refs/tags/39.2.0.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | fx |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
fx
nix profile install nixpkgs#fxfx 39.2.0-r6
Command-line tool and terminal JSON viewer
https://github.com/antonmedv/fx
sudo apk add fxfx-doc 39.2.0-r6
Command-line tool and terminal JSON viewer (documentation)
https://github.com/antonmedv/fx
sudo apk add fx-docfx 39.2.0-1
Command-line tool and terminal JSON viewer
https://github.com/antonmedv/fx
sudo pacman -S fxfx 39.2.0-1.4
Terminal JSON viewer
sudo zypper install fxfx
sudo port install fxmain/fx
scoop install main/fxsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.