Installation for Unix
Installation of CrackMapExec on Unix system

Installation

You should only install from source if you intend to hack on the source code and/or submit a PR!
If you just intend on using the tool, get the binaries!

APT package Kali Linux only

From apt using Kali Linux
1
#~ apt install crackmapexec
Copied!

Python Package

It's highly recommended you use Pipx to install CME as it isolates all its dependencies for you and eliminates 90% of all problems you'll usually encounter while installing it this way.
1
#~ python3 -m pip install pipx
2
#~ pipx ensurepath
3
#~ pipx install crackmapexec
Copied!

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

Installing from Source

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

Please note the --recursive flag passed to the git clone command. This flag will make git automatically download all of the sub-modules CME depends on. Without this flag installation will fail and heads might explode.
You're going to need to install Poetry which is what CME uses to manage dependencies.
1
#~ apt-get install -y libssl-dev libffi-dev python-dev build-essential
2
#~ git clone --recursive https://github.com/byt3bl33d3r/CrackMapExec
3
#~ cd CrackMapExec
4
#~ poetry install
5
#~ poetry run crackmapexec
Copied!
​
Last modified 1yr ago