Tor command line tools for Mac
I recommand you to get Tor through a package manager like Homebrew or Mac Ports.
Follow the instruction on the there websites and then come back to this instructions.
I uses this package manager to get tor.
Just type this simple command:
brew install tor
Get Tor over this package manager is pretty similar to Homebrew.
sudo port install tor
But you can use the instructions on the tor website. Just follow this LINK.
You have 2 options to get the tools.
1. Clone/Download this repository and execute the install.sh file
$ cd path/to/easy-tor
# make sure the file has execute rights
$ chmod +x install.sh
$ ./install.sh
OR
2. Execute this command inside your terminal.
$ bash -c "$(curl -Ls github.com/gravmatt/easy-tor/raw/master/install.sh)"
After you installed Tor and the command line tools you can use this command for easily starting and stopping the Tor service.
Starts the Tor service and set the Mac socks proxy to port 9050.
Port 9050 is the Tor default port but you should double check to make sure the socks proxy works correct.
Tor config file: /usr/local/etc/tor/torrc
Stops the Tor service and removes the socks proxy.
Get your Tor IP address.
Make a IP lookup of your Tor IP address.
Get your normal IP address. (Does not use the Tor service!)
Make a lookup of your normal IP address. (Does not use the Tor service!)