Analysis updated 2026-06-26
Quickly retrieve your Wi-Fi password from the terminal to share with a guest.
Look up the saved password for any Wi-Fi network your Mac has previously joined.
Pipe the Wi-Fi password directly to the clipboard for instant pasting.
| rauchg/wifi-password | fscarmen/sing-box | gh0stzk/dotfiles | |
|---|---|---|---|
| Stars | 4,545 | 4,545 | 4,541 |
| Language | Shell | Shell | Shell |
| Setup difficulty | easy | hard | hard |
| Complexity | 1/5 | 4/5 | 4/5 |
| Audience | general | ops devops | developer |
Figures from each repo's GitHub metadata at analysis time.
macOS only, does not work on Windows or Linux.
This is a small command-line tool for macOS that retrieves the password of the Wi-Fi network you are currently connected to. The idea is simple: when someone asks for the Wi-Fi password, you open a terminal, run one command, and get the answer immediately without digging through system settings. The tool is written as a shell script. It works only on macOS, and the README links to a separate Windows version for people who need that. Installation takes one step: you can use Homebrew (a popular package manager for Mac), a tool called bpkg, a shell plugin manager like Antigen or Zgen, or simply download the script directly with curl. Once installed, running wifi-password with no arguments prints the password for the network you are on. You can also pass a specific network name to retrieve the password for any saved network. There is also a one-liner that pipes the output straight into the clipboard so you can paste it anywhere without retyping. The script is short, does one thing, and has no configuration. It reads Wi-Fi credentials from the macOS keychain, which stores passwords for networks your computer has joined. No third-party services are involved. The repository is released under the MIT license.
A one-command macOS tool that retrieves your current Wi-Fi password from the system keychain so you can share it instantly without opening system settings.
Mainly Shell. The stack also includes Shell, macOS.
Use freely for any purpose including commercial, as long as you keep the MIT copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.