xh https://example.com --download | open Or use xh with fzf and open for interactive URL opening.

Write a 5-line Node script:

curl -s https://example.com | open -f (On macOS, -f opens in default text editor. For HTML: curl -s URL > /tmp/page.html && open /tmp/page.html )

Let me know in the comments below. Updated: April 2026. Tested on macOS and Ubuntu 24.04.

http https://api.example.com/data | open -a "Google Chrome" Or save the output to a temp HTML file:

Lower memory usage, no Python dependencies. 3. Curl + Open (Universal Fallback) Best for: Systems where you can’t install new tools.

Every Unix-like system has curl. No excuses. 4. Browser Automation Tools (Puppeteer/Playwright) Best for: When “open” isn’t enough—you need to click, log in, or scrape.