cascadia
« Back to VersTracker
Description:
Go cascadia package command-line CSS selector
Type: Formula  |  Latest Version: 1.5.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cli css html scraper go
Install: brew install cascadia
About:
Cascadia is a command-line interface (CLI) tool built on Go's net/html and cascadia packages. It allows users to apply CSS selectors directly to HTML content from the terminal, similar to how jQuery works in the browser. This utility is ideal for parsing and extracting data from HTML documents without the overhead of a full browser engine.
Key Features:
  • Go-based performance and single-binary deployment
  • Supports standard CSS3 selectors
  • Parses HTML from standard input or files
  • Outputs extracted content or modified HTML
Use Cases:
  • Scraping specific data points from HTML files or web pages via curl
  • Validating HTML structure and selector targeting
  • Quick command-line data extraction for shell scripting
Alternatives:
  • pup – Pup is a more widely known tool with similar functionality, while cascadia offers a lightweight alternative.
  • jq – Jq is for JSON, whereas cascadia specifically handles HTML parsing with CSS selectors.
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Oct 10, 2025 3:00am 0 VERSION_BUMP c1ec2987
Sep 12, 2025 6:14pm 0 VERSION_BUMP 57da191c