Node module for changing your MAC address

Spoof is a Node.js module that makes it super simple to change your MAC address on the fly. For macOS, Windows, and Linux.

There are a number of reasons you might want to change your device’s MAC address up; I won’t get into that here.

On a Mac, it’s fairly trivial to do via the command line with ifconfig, but it’s just tedious enough that I went looking for a higher-level tool.

Spoof is a Node.js module that makes it super simple to change your MAC address on the fly, and apparently works on Windows and Linux too (I’ve only used it on macOS).

From the readme, Spoof is a:

Node.js port of the popular SpoofMAC Python utility (GitHub: feross/SpoofMAC).

Basic usage is as simple as:

% sudo spoof randomize Wi-Fi

...which is still wordy enough that I just aliased that command in my .zshrc file to spoofw.