-
Notifications
You must be signed in to change notification settings - Fork 21
How To Linux, Mac
Download the claimpms.sh file to your Mac or Linux machine from Latest Releases.
Please read the whole page before you begin, including the notes at the bottom of the page, thanks.
Open Terminal and then cd to the location of the file on your system.
E.G.: If using a Mac and you downloaded the file to the Downloads folder, then use cd Downloads as shown in the image below.
Then enter the following command:
Next, run the script file using this command:
The following should be shown in your Terminal window:

Then enter the following details as requested:
- plex.tv username - enter your Plex account login name here.
- plex.tv password - enter your Plex account password here.
- plex.tv password repeated - re-enter your Plex account password here.
- IP address of your Plex Media Server - enter your Plex Media Server's IP address here.
After entering the IP address of your Plex Media Server and pressing Enter, the script will run.
Note: In Linux/BSD (Mac) character case and spaces are very important!
Also, when you enter a command and then press the enter key, you will often not see anything happen except the cursor will move to the next line. This is normal and it means that the command was successful.
If however, you see a message of some sort, then it may mean there was an error. The message should alert you to the problem. If not, you can always ask in the forums, what the error message means or use Google to search for the meaning of the error message.
Note: If running Ubuntu or Debian, type bash claimpms.sh instead of ./claimpms.sh, since these two distro's have bash as their default shell.
Note: Your IP Address should look something like this 192.168.0.22. There is no need to add the Plex port number to the IP address. E.G.: 192.168.0.22:32400.
Note: If your Plex Media Server is on a remote machine, you should upload the file to the remote machine and use the local IP Address of the machine running PMS. When running the script directly on the remote PMS server itself, enter an IP address of 127.0.0.1.
Note: If you are using a Mac or Linux machine to claim PMS running on your NAS, then make sure you enter the IP Address for the NAS and not your Mac or Linux machine.
Note: If you receive any error messages, then please see the Errors and Troubleshooting page.
PMS = Plex Media Server