Submit a product

hostctl

command-line manager for /etc/hosts profiles and entries

ToolOpen source

hostctl is a command-line tool for editing the hosts file on a computer. It lets developers add, remove and switch between sets of host entries without opening the system file by hand, which is useful when testing sites or services against local addresses.

The tool is written in Go and released under the MIT license, with the source code published on GitHub. The maker also has a project website. The facts provided do not list supported operating systems or a pricing model, so those details are not covered here.

Alternatives to hostctl

Products that do a similar job in Developer Tools.

All alternatives

bore

Command line tool for TCP tunnels to localhost

ToolDeveloper Tools··Open source·12k

SwitchHosts

Manage and switch between hosts file profiles on macOS

AppDeveloper Tools·

Windows Terminal

Command-line terminal app and console host for Windows

ToolDeveloper Tools··Open source·106k

fzf

Command-line fuzzy finder for lists of files, history and any text

ToolDeveloper Tools··Open source·85k

lazygit

Terminal UI for running git commands with keyboard shortcuts

ToolDeveloper Tools··Open source·84k

ripgrep

command-line search tool that finds regex matches across directory trees

ToolDeveloper Tools··Open source·71k

Alacritty

GPU-accelerated terminal emulator for Linux, macOS, Windows and BSD

ToolDeveloper Tools··Open source·66k

bat

command-line file viewer with syntax highlighting and git integration

ToolDeveloper Tools··Open source·62k