you can install tor on macos easily by using brew
$ brew install tor
after you install it, you can start the tor service. i took it from the package info
$ brew info tor
To have launchd start tor now and restart at login:
brew services start tor
Or, if you don't want/need a background service you can just run:
so the following should get tor ...