Manage your /etc/hosts like a pro!
This tool gives you more control over the use of your
hosts file. You can have multiple profiles and enable/disable as you need.
It is a tedious task to handle the
hosts file by editing manually. With this tool you can automate some aspects to do it cleaner and quick.
- Manage groups of host names by profile.
- Enable/disable complete profiles.
- Add/remove groups of host names.
- Add profiles directly from a
.etchostsfile that you can add to your git repo or any VCS.
- Sync a profile with Docker or Docker Compose containers.
Go to release page and download the binary you need.
Or read how to install on your system here
Linux/Mac/Windows and permissions
The tool recognize your system and use the right hosts file, it will use
/etc/hosts on Linux/Mac and
C:/Windows/System32/Drivers/etc/hosts on Windows.
SUDO/ADMIN: You will need permissions for any action that modify hosts file, add
sudo to the commands below when needed. If you are on windows, make sure you run it as administrator.
WARNING: it should work on any system. It's tested on Ubuntu and Windows 10. If you can confirm it works on other system, please let me know here.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!