🍺 BREW Explorer

← all formulae

as-tree

brew install as-tree v0.12.0 BlueOak-1.0.0

Print a list of paths as a tree of paths

15
30-day installs · #7497
54
90-day · #7116
247
365-day · #6830
500
★ GitHub stars · updated 4y ago

Build dependencies

GitHub topics

cli

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Print a list of paths as a tree of paths",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:32+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "as-tree",
  "github_default_branch": "master",
  "github_last_commit_at": "2021-10-07T12:59:11Z",
  "github_readme_excerpt": "# as-tree\n\n[![Build Status](https://travis-ci.org/jez/as-tree.svg?branch=master)](https://travis-ci.org/jez/as-tree)\n\nPrint a list of paths as a tree of paths.\n\nFor example, given:\n\n```\ndir1/foo.txt\ndir1/bar.txt\ndir2/qux.txt\n```\n\nit will print:\n\n```\n.\n\u251c\u2500\u2500 dir1\n\u2502   \u251c\u2500\u2500 foo.txt\n\u2502   \u2514\u2500\u2500 bar.txt\n\u2514\u2500\u2500 dir2\n    \u2514\u2500\u2500 qux.txt\n```\n\nThis tool is particularly useful when used with `find` or `fd` to produce such\na list of files. It\u0027s similar in spirit to `tree`, but `find` and `fd` tend to\nbe more powerful when it comes to controlling which files to list.\n\nInspired by [this feature request](https://github.com/sharkdp/fd/issues/283).\n\n## Install\n\nThere are pre-built binary releases in the Releases tab.\n\nThis project is written in Rust and builds under both Bazel and Cargo.\n\nTo install from source using Cargo:\n\n```shell\ncargo install -f --git https://github.com/jez/as-tree\n```\n\nTo install from source using Bazel:\n\n```shell\ngit clone https://github.com/jez/as-tree\ncd as-tree\nmake install\n```\n\n## Usage\n\n```\n\u276f as-tree --help\nPrint a list of paths as a tree of paths.\n\nUsage:\n  as-tree [options] [\u003cfilename\u003e]\n\nArguments:\n  \u003cfilename\u003e        The file to read from. When omitted, reads from stdin.\n\nOptions:\n  --color (always|auto|never)\n                    Whether to colorize the output [default: auto]\n  -f                Prints the full path prefix for each file.\n  -h, --help        Print this help message\n\nExample:\n  find . -name \u0027*.txt\u0027 | as-tree\n```\n\n## Example\n\nThis tool is particularly useful with tools like `fd` which can prune the list\nof files to print better than `tree` can alone.\n\n```\n\u276f fd --exclude test | as-tree\n.\n\u251c\u2500\u2500 LICENSE.md\n\u251c\u2500\u2500 Makefile\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 WORKSPACE\n\u251c\u2500\u2500 bazel\n\u251c\u2500\u2500 main\n\u2502   \u251c\u2500\u2500 BUILD\n\u2502   \u2514\u2500\u2500 main.cc\n\u251c\u2500\u2500 third_party\n\u2502   \u251c\u2500\u2500 BUILD\n\u2502   \u251c\u2500\u2500 externals.bzl\n\u2502   \u2514\u2500\u2500 spdlog.BUILD\n\u2514\u2500\u2500 tools\n    \u251c\u2500\u2500 BUILD\n    \u251c\u2500\u2500 clang.bzl\n    \u2514\u2500\u2500 scripts\n        \u251c\u2500\u2500 build_compilation_db.sh\n        \u2514\u2500\u2500 generate_compdb_targets.sh\n```\n\n## Developing\n\nRunning the tests requires Bazel. The `",
  "github_repo": "jez/as-tree",
  "github_stars": 500,
  "github_topics": [
    "cli"
  ],
  "homepage": "https://github.com/jez/as-tree",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 15,
  "installs_365d": 247,
  "installs_90d": 54,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BlueOak-1.0.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "as-tree",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 7497,
  "rank_365d": 6830,
  "rank_90d": 7116,
  "raw_hash": "472fcf2629dee0bc",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/a/as-tree.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "0.12.0",
  "versioned_formulae": [],
  "why_use_this": null
}