set-hosts-file

1.0.5 • Public • Published

介绍

这是一个配置hosts文件的脚本,如果你用的macOs 或者 Linux, hosts文件默认在 /etc/hosts. window默认在 C:/Windows/System32/drivers/etc/hosts.

安装

npm install set-hosts-file 

使用

npx hkhostile set localhost domain.com
npx hkhostile set 127.0.0.1 domain.com

Package Sidebar

Install

npm i set-hosts-file

Weekly Downloads

13

Version

1.0.5

License

MIT

Unpacked Size

5.09 kB

Total Files

5

Last publish

Collaborators

  • yunchuans