manage-wifi-cli

Turn your Wi-Fi on and off

Usage no npm install needed!

<script type="module">
  import manageWifiCli from 'https://cdn.skypack.dev/manage-wifi-cli';
</script>

README

manage-wifi-cli

Turn your Wi-Fi on and off

macOS and Windows only, but pull request welcome for Linux support.

Install

$ npm install --global manage-wifi-cli

Usage

$ wifi --help

  Usage
    $ wifi <command>

  Commands
    on       Turn Wi-Fi on
    off      Turn Wi-Fi off
    toggle   Toggle Wi-Fi
    restart  Turn Wi-Fi off & on
    status   Wi-Fi status
    device   Wi-Fi device name

  Examples
    $ wifi off
    $ wifi status
    off
    $ wifi device
    en0

Related