{"id":13583385,"url":"https://github.com/stevelacey/wifi-cli-macos","last_synced_at":"2025-05-13T01:32:36.279Z","repository":{"id":31466984,"uuid":"127272500","full_name":"stevelacey/wifi-cli-macos","owner":"stevelacey","description":"📡️ Wi-Fi CLI MacOS is a command line utility for managing network connections on MacOS","archived":false,"fork":false,"pushed_at":"2023-04-23T21:51:50.000Z","size":20,"stargazers_count":14,"open_issues_count":4,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-09T12:17:23.201Z","etag":null,"topics":["cli","macos","wifi"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/wifi-cli-macos","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stevelacey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-03-29T09:57:23.000Z","updated_at":"2024-06-21T15:52:47.000Z","dependencies_parsed_at":"2024-04-08T18:06:56.183Z","dependency_job_id":null,"html_url":"https://github.com/stevelacey/wifi-cli-macos","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevelacey%2Fwifi-cli-macos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevelacey%2Fwifi-cli-macos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevelacey%2Fwifi-cli-macos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevelacey%2Fwifi-cli-macos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevelacey","download_url":"https://codeload.github.com/stevelacey/wifi-cli-macos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253450321,"owners_count":21910524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","macos","wifi"],"created_at":"2024-08-01T15:03:26.597Z","updated_at":"2025-05-13T01:32:36.254Z","avatar_url":"https://github.com/stevelacey.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Wi-Fi CLI MacOS\n\nWi-Fi CLI MacOS is a command line utility for managing network connections on MacOS\n\n```\nwifi connect (c) \u003cnetwork\u003e [password]  Connect to a Wi-Fi network\nwifi disconnect (dc)                   Disconnect from current Wi-Fi network\nwifi info (i)                          Display current Wi-Fi network\nwifi password (p)                      Display current Wi-Fi network password\nwifi list (ls)                         List available Wi-Fi networks\nwifi cloudflared on (cf on)            Turn Cloudflared on and set DNS to localhost\nwifi cloudflared off (cf off)          Turn Cloudflared off reset DNS to network defaults\nwifi cloudflared restart (cf r)        Turn Cloudflared off and on again and set DNS to localhost\nwifi dns [servers...]                  Set DNS servers\nwifi on                                Turn Wi-Fi on\nwifi off                               Turn Wi-Fi off\nwifi restart (r)                       Turn Wi-Fi off and on again\n```\n\n## Installation\n\n```sh\nnpm install -g wifi-cli-macos\n```\n\n## Basic usage\n\n```sh\nwifi ls\nNetwork 1 ▁▂▃▄▅▆\nNetwork 2 ▁▂▃▄▅\nNetwork 3 ▁▂▃\nNetwork 4 ▁▂\nNetwork 5 ▁▂\nNetwork 6 ▁\n```\n\n```sh\nwifi c \"Network 1\" changeme\n```\n\n```sh\nwifi i\nCurrent Wi-Fi Network: Network 1\n```\n\n### Configure DNS servers\n\n```sh\nwifi dns\nCurrent DNS Servers: There aren't any DNS Servers set on Wi-Fi.\n```\n\n```sh\nwifi dns 1.1.1.1 8.8.8.8\nConfigured DNS Servers: 1.1.1.1 8.8.8.8\n```\n\n```sh\nwifi dns -\nConfigured DNS Servers: There aren't any DNS Servers set on Wi-Fi.\n```\n\n### Turn Wi-Fi off and on again\n\n```sh\nwifi r\n```\n\n## Advanced usage\n\nWiFi CLI MacOS also supplies commands for enabling and disabling [Argo Tunnel (cloudflared)](https://developers.cloudflare.com/argo-tunnel/)\n\nArgo Tunnel is a Cloudflare tool which (amongst other things) can be used to proxy DNS over SSL:\n\n```sh\nbrew install cloudflare/cloudflare/cloudflared\n```\n\nWiFi CLI MacOS makes enabling/disabling Argo Tunnel a little easier, the\n`wifi cf on/off/r` commands start/stop/restart\n[the homebrew service](https://github.com/cloudflare/homebrew-cloudflare/pull/3)\nand toggle your DNS servers between localhost and network defaults\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevelacey%2Fwifi-cli-macos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevelacey%2Fwifi-cli-macos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevelacey%2Fwifi-cli-macos/lists"}