Addhost.sh - Small script to improve dev workflow - MacOs Users

Small script to improve dev workflow.

This one’s for macOS users who need to add/remove local host entries for custom .loc domains during local dev (XAMPP, Valet, etc.). Saves you from editing /etc/hosts by hand.

GitHub: GitHub - pearpl/addhost: Simple macOS CLI tool to add, remove, and list hostnames in /etc/hosts.

It’s simple, runs in terminal, no dependencies.
Try it out and tell me if it breaks or needs more.

1 Like