Installation

Stable release from PyPI

python3 -m pip install getmac
py -m pip install getmac

Debian-based Linux distributions

apt may have it available, depending on the Linux distribution (see packaging status below).

sudo apt install getmac

OS Packaging Status

OS Packaging status

Latest development version

Warning

Installing directly from main includes pre-release changes and is not recommended for most users.

This will install the latest version from the main branch on GitHub.

python3 -m pip install https://github.com/ghostofgoes/getmac/archive/main.tar.gz
py -m pip install https://github.com/ghostofgoes/getmac/archive/main.tar.gz