First of all, we need to install MacPorts
Download and install, before that, do not forget to install Xcode. We need MacPorts to help install TOR, it is a system for building programs from source.
Next, open terminal and use MacPorts to install tor as administrator.
Code:
port install tor
Make...