Automic VaultAutomic Vault

brew

Install as-tree with Homebrew, MacPorts, Nix

Print a list of paths as a tree of paths. Version 0.12.0 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#as-tree.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install as-tree

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install as-tree

MacPorts ports tree · sysutils/as-tree/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#as-tree

nixpkgs package indexes · pkgs/by-name/as/as-tree/package.nix · source: api.github.com

overview

Package summary

Print a list of paths as a tree of paths

Commands and aliases

  • as-tree

history

Project history and usage

as-tree is a small Rust command-line filter that reads paths from a file or stdin and prints them as a tree. It complements path producers such as `find` and `fd` rather than replacing them.

Project history

The public repository was created in May 2020, with initial GitHub releases published the same month. The README states that the tool was inspired by a feature request in `fd`, and that it builds under both Cargo and Bazel.

Its README is deliberately narrow: pass a list of paths in, get a tree display out. Development notes document Bazel-based tests and fixture files, while installation notes point to pre-built releases, Cargo, and source builds.

Adoption history

The provided package-manager facts list Homebrew, MacPorts, and Nix, which is a strong adoption signal for a tiny CLI filter. GitHub repository metadata reported hundreds of stars at research time.

The tool's adoption niche is among users who already compose shell pipelines. Instead of adding complex filtering options to `tree`, it lets `find` or `fd` decide what paths exist and uses `as-tree` only for presentation.

How it is used

Common usage is `find . -name '*.txt' | as-tree` or `fd --exclude test | as-tree`. The CLI can also read a filename argument, print full path prefixes with `-f`, and control color with `--color always|auto|never`.

Because it is a filter, it fits neatly into scripts and aliases where users want `tree`-like output after a more expressive file search.

Why package nerds care

as-tree is package-nerd candy because it does one thing that Unix pipelines want: transform line-oriented path streams into tree-shaped output. It is also a small Rust utility that ships through multiple package managers despite a minimal feature set.

The contrast with `tree` is the point: no large option surface is needed when existing tools already produce the right list.

Timeline

  • 2020: Public GitHub repository created.
  • 2020: 0.9.0 through 0.12.0 GitHub releases published in May.

Related projects

  • The README explicitly relates as-tree to `tree`, `find`, and `fd`, and cites the fd feature request that inspired it.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
as-treecliglobal executable

freshness

Version and 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.

page generated2026-07-26
manager version0.12.0
manager updated
local dataok
upstreamcurrent
latest detected0.12.0

https://github.com/jez/as-tree

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:as-tree
Version0.12.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/as-tree
Homepagehttps://github.com/jez/as-tree
Repositoryhttps://github.com/jez/as-tree
Upstream docshttps://github.com/jez/as-tree#readme
LicenseBlueOak-1.0.0
Source archivehttps://github.com/jez/as-tree/archive/refs/tags/0.12.0.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameas-tree
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

as-tree

nix profile install nixpkgs#as-tree
  • normalized package name match
  • Matched by: As Tree
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/as/as-tree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

as-tree

sudo port install as-tree
  • normalized package name match
  • Matched by: As Tree
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/as-tree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment