mkdir -p /use/local/mongo-hacker cd mongo-hacker git clone https://github.com/TylerBrock/mongo-hacker . make make install
See also: How to highlight the MongoDB syntax in the shell in Windows?