Skip to content

Instantly share code, notes, and snippets.

@jpillora
Last active November 6, 2024 14:27
Show Gist options
  • Save jpillora/d1d3263c67e7977d2620 to your computer and use it in GitHub Desktop.
Save jpillora/d1d3263c67e7977d2620 to your computer and use it in GitHub Desktop.
Headless Transmission on Mac OS X
  1. Go to https://developer.apple.com/downloads/index.action and search for "Command line tools" and choose the one for your Mac OSX

  2. Go to http://brew.sh/ and enter the one-liner into the Terminal, you now have brew installed (a better Mac ports)

  3. Install transmission-daemon with

    brew install transmission
    
  4. Copy the startup config for launchctl with

    ln -sfv /usr/local/opt/transmission/*.plist ~/Library/LaunchAgents
    

    If transmission isn't starting, you also might need to modify the startup plist file:

    ~/Library/LaunchAgents/homebrew.mxcl.transmission.plist at the line:

    <key>NetworkState</key> to <key>RunAtLoad</key>

  5. Start transmission (will then always auto-start) with

    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.transmission.plist
    
  6. Change settings (I set rpc auth to false) with

    nano /usr/local/var/transmission/settings.json
    
  7. Visit http://127.0.0.1:9091/transmission/web/ and you're done

@americanhanko
Copy link

Xcode command line tools can be installed by running xcode-select --install. Even better, the Homebrew install script will do it via the same method if they don't exist. Therefore the first two steps can be condensed into just one (as seen on brew.sh):

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Thanks for the guide. 👍

@benjaminfauchald
Copy link

Thank you a lot for this guide, was struggling a lot with rtorrent on OSX before I saw this. Thanks!

@ChiftKey
Copy link

Thanks a lot, It was very helpful to me.

@jamesvdm
Copy link

jamesvdm commented May 2, 2020

Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment