Links
Comment on page

Installation for Unix

Installation of CrackMapExec on Unix system

Installing from Source & with Poetry

You're going to need to install Poetry which is what CME uses to manage dependencies.
#~ apt-get install -y libssl-dev libffi-dev python-dev-is-python3 build-essential
#~ git clone https://github.com/mpgn/CrackMapExec
#~ cd CrackMapExec
#~ poetry install
#~ poetry run crackmapexec

Python Package

Using pipx over pip is recommanded
#~ python3 -m pip install pipx
#~ git clone https://github.com/mpgn/CrackMapExec
#~ cd CrackMapExec
#~ pipx install .

APT package Kali Linux only

Not recommended as the version might not be up-to-date
#~ apt install crackmapexec

BlackArch:

Not recommended as the version might not be up-to-date
#~ pacman -S crackmapexec

Pentoo:

Not recommended as the version might not be up-to-date
#~ emerge net-analyzer/crackmapexec

Binaries

You should be using the binaries in 99% of the cases as it requires no installation (outside of Python 3 itself).
Go to the actions tab (at the top of the repo), click on the latest build and download the appropriate binary according to your OS.
Binaries are compiled for python 3.8 / 3.9 / 3.10 / 3.11
Note: you need to be logged into Github in order to download the binaries from the Actions feature