Installation for Unix
Installation of CrackMapExec on Unix system

Installing from Source

You should only install from source if you intend on making changes to the code and/or submitting a PR

You're going to need to install Poetry which is what CME uses to manage dependencies.
#~ apt-get install -y libssl-dev libkrb5-dev libffi-dev python-dev build-essential
#~ git clone https://github.com/Porchetta-Industries/CrackMapExec
#~ cd CrackMapExec
#~ poetry install
#~ poetry run crackmapexec
If you are in MacOS and you have an error with aardwolf:
pip download --no-binary aardwolf aardwolf

APT package Kali Linux only

From apt using Kali Linux
This method is not recommanded as the version on Kali is deprecated for now
#~ apt-get install -y libkrb5-dev
#~ apt install crackmapexec

Python Package

This method is not recommanded as the version on pypi is deprecated for now
#~ apt-get install -y libkrb5-dev
#~ python3 -m pip install pipx
#~ pipx ensurepath
#~ pipx install 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 python3.8
Actions Β· byt3bl33d3r/CrackMapExec
GitHub
Releases Β· byt3bl33d3r/CrackMapExec
GitHub
Note: you need to be logged into Github in order to download the binaries from the Actions feature