wifi-password
« Back to VersTracker
Description:
Show the current WiFi network password
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Networking
Tags: wifi networking cli utility password
Install: brew install wifi-password
About:
wifi-password is a command-line utility that retrieves the password for the currently connected WiFi network. It queries the system's keychain or network preferences to securely fetch the credentials. This tool is invaluable for developers and system administrators who need to quickly share network access or recover a forgotten password.
Key Features:
  • Retrieves password for the active Wi-Fi network
  • Outputs plain text or a scannable QR code
  • Cross-platform support for macOS and Linux
  • No configuration required, works out of the box
Use Cases:
  • Sharing a secure Wi-Fi network with a guest without revealing the password
  • Recovering a forgotten Wi-Fi password on a connected machine
  • Automating network setup scripts in development environments
Alternatives:
  • security find-generic-password – Native macOS command, more verbose and requires specific service/account parameters
  • netsh wlan show profile – Windows native command, requires parsing verbose output to extract the key
Version History
Detected Version Rev Change Commit