hostsmgr henrypp
Use this command to install hostsmgr:
winget install --id=henrypp.hostsmgr -e
Console tool for sysadmins and other peoples who need to autoupdate the "hosts" file. Command line use required.
winget install --id=henrypp.hostsmgr -e
Console tool for sysadmins and other peoples who need to autoupdate the "hosts" file. Command line use required.
Console tool for sysadmins and other peoples who need to autoupdate "hosts" file.
-path - output file location (def: ".\hosts")
-ip - ip address to be set as resolver (def: "0.0.0.0")
-os - new line format; "win", "linux" or "mac" (def: "win")
-nobackup - do not create backup for output file (opt.)
-noresolve - do not set resolver, just generate hosts list (opt.)
-nocache - do not use cache files, load directly from internet (opt.)
Binaries have GPG signature hostsmgr.scr.sig
in application folder.
(c) 2016-2025 Henry++