Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

111,616

Downloads of v 1.87.2.87:

1,191

Last Update:

17 Feb 2024

Package Maintainer(s):

Software Author(s):

  • Plex
  • Inc.

Tags:

plex streaming video music htpc dlna admin

Plex (Install)

  • 1
  • 2
  • 3

1.87.2.87 | Updated: 17 Feb 2024

Downloads:

111,616

Downloads of v 1.87.2.87:

1,191

Maintainer(s):

Software Author(s):

  • Plex
  • Inc.

Plex (Install) 1.87.2.87

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Dependencies require reboot.

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Plex (Install), run the following command from the command line or from PowerShell:

>

To upgrade Plex (Install), run the following command from the command line or from PowerShell:

>

To uninstall Plex (Install), run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade plex -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade plex -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install plex
  win_chocolatey:
    name: plex
    version: '1.87.2.87'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'plex' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.87.2.87'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller plex
{
    Name     = "plex"
    Version  = "1.87.2.87"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'plex':
  ensure   => '1.87.2.87',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 17 Feb 2024.

Description

This is the new desktop client that replaces plexmediaplayer. It supports downloads and implements the UNO interface.


tools\chocolateyinstall.ps1
# https://www.plex.tv/media-server-downloads/#plex-app
$ErrorActionPreference = 'Stop'

$packageArgs = @{
  packageName    = 'plex'
  fileType       = 'EXE'
  url64          = 'https://downloads.plex.tv/plex-desktop/1.87.2.87-87488d5a/windows/Plex-1.87.2.87-87488d5a-x86_64.exe'
  silentArgs     = '/S'
  softwareName   = 'Plex' 
  checksum64     = '138e160f6e216b018babce7f5d382e9b3e9bf9a0'
  checksumType64 = 'sha1'
  validExitCodes = @(0, 1223)
}

Install-ChocolateyPackage @packageArgs
Get-Process | Where { $_.name -eq 'Plex' } | Stop-Process
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';
$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'Plex'
  fileType      = 'EXE'
  silentArgs    = '/S'
  validExitCodes= @(0)
}

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']

if ($key.Count -eq 1) {
  $key | % { 
    $packageArgs['file'] = "$($_.UninstallString)"
    
    if ($packageArgs['fileType'] -eq 'MSI') {
      $packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
      
      $packageArgs['file'] = ''
    } else {
    }

    Uninstall-ChocolateyPackage @packageArgs
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $($_.DisplayName)"}
}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Plex (Install) 1.87.1.75 568 Thursday, February 15, 2024 Approved
Plex (Install) 1.86.1.4076 1416 Wednesday, January 31, 2024 Approved
Plex (Install) 1.85.0.4071 1298 Tuesday, January 16, 2024 Approved
Plex (Install) 1.84.1.4069 1787 Wednesday, December 20, 2023 Approved
Plex (Install) 1.83.1.4061 1458 Tuesday, December 5, 2023 Approved
Plex (Install) 1.82.2.4024 1237 Thursday, November 23, 2023 Approved
Plex (Install) 1.82.1.4022 366 Wednesday, November 22, 2023 Approved
Plex (Install) 1.81.0.4012 1414 Wednesday, November 8, 2023 Approved
Plex (Install) 1.80.3.4008 1247 Friday, October 27, 2023 Approved
Plex (Install) 1.80.2.4006 344 Thursday, October 26, 2023 Approved
Plex (Install) 1.79.1.3984 1833 Tuesday, September 26, 2023 Approved
Plex (Install) 1.78.2.3975 1328 Wednesday, September 13, 2023 Approved
Plex (Install) 1.77.3.3966 1367 Thursday, August 31, 2023 Approved
Plex (Install) 1.77.2.3964 361 Wednesday, August 30, 2023 Approved
Plex (Install) 1.76.2.3951 1387 Tuesday, August 15, 2023 Approved
Plex (Install) 1.75.0.3920 1317 Wednesday, August 2, 2023 Approved
Plex (Install) 1.74.1.3913 1438 Tuesday, July 18, 2023 Approved
Plex (Install) 1.73.1.3905 1142 Thursday, July 6, 2023 Approved
Plex (Install) 1.72.2.3901 941 Wednesday, June 28, 2023 Approved
Plex (Install) 1.71.1.3888 885 Wednesday, June 21, 2023 Approved
Plex (Install) 1.70.2.3845 1582 Wednesday, May 31, 2023 Approved
Plex (Install) 1.69.1.3755 1485 Friday, May 12, 2023 Approved
Plex (Install) 1.68.2.3746 488 Wednesday, May 10, 2023 Approved
Plex (Install) 1.67.2.3705 1889 Wednesday, April 12, 2023 Approved
Plex (Install) 1.67.1.3665 1270 Saturday, April 1, 2023 Approved
Plex (Install) 1.66.1.3632 1385 Thursday, March 16, 2023 Approved
Plex (Install) 1.65.1.3596 1404 Thursday, March 2, 2023 Approved
Plex (Install) 1.64.2.3546 1383 Thursday, February 16, 2023 Approved
Plex (Install) 1.63.3.3523 1047 Thursday, February 9, 2023 Approved
Plex (Install) 1.63.2.3496 534 Tuesday, February 7, 2023 Approved
Plex (Install) 1.62.2.3451 1499 Friday, January 20, 2023 Approved
Plex (Install) 1.61.1.3432 1048 Thursday, January 12, 2023 Approved
Plex (Install) 1.60.1.3413 1537 Thursday, December 22, 2022 Approved
Plex (Install) 1.59.1.3398 1253 Friday, December 9, 2022 Approved
Plex (Install) 1.58.1.3380 1297 Thursday, November 24, 2022 Approved
Plex (Install) 1.57.1.3358 1312 Thursday, November 10, 2022 Approved
Plex (Install) 1.56.2.3345 923 Thursday, November 3, 2022 Approved
Plex (Install) 1.56.1.3327 899 Friday, October 28, 2022 Approved
Plex (Install) 1.55.0.3278 1668 Saturday, October 1, 2022 Approved
Plex (Install) 1.54.2.3267 1272 Saturday, September 17, 2022 Approved
Plex (Install) 1.54.1.3264 379 Friday, September 16, 2022 Approved
Plex (Install) 1.53.1.3225 1186 Friday, September 2, 2022 Approved
Plex (Install) 1.52.1.3195 1296 Thursday, August 18, 2022 Approved
Plex (Install) 1.51.1.3185 988 Wednesday, August 10, 2022 Approved
Plex (Install) 1.50.1.3176 803 Thursday, August 4, 2022 Approved
Plex (Install) 1.49.1.3146 1186 Thursday, July 21, 2022 Approved
Plex (Install) 1.48.2.3124 1160 Friday, July 8, 2022 Approved
Plex (Install) 1.47.1.3086 1212 Thursday, June 23, 2022 Approved
Plex (Install) 1.46.1.3056 1220 Friday, June 10, 2022 Approved
Plex (Install) 1.45.0.3013 1312 Thursday, May 26, 2022 Approved
Plex (Install) 1.44.0.2981 1648 Thursday, April 28, 2022 Approved
Plex (Install) 1.43.4.2971 1244 Friday, April 15, 2022 Approved
Plex (Install) 1.43.3.2951 1071 Wednesday, April 6, 2022 Approved
Plex (Install) 1.43.2.2949 336 Tuesday, April 5, 2022 Approved
Plex (Install) 1.42.1.2926 1214 Thursday, March 24, 2022 Approved
Plex (Install) 1.41.0.2876 1671 Wednesday, February 23, 2022 Approved
Plex (Install) 1.40.1.2823 1681 Friday, January 28, 2022 Approved
Plex (Install) 1.40.0.2816 418 Thursday, January 27, 2022 Approved
Plex (Install) 1.39.1.2763 2118 Friday, December 10, 2021 Approved
Plex (Install) 1.39.0.2753 517 Wednesday, December 8, 2021 Approved
Plex (Install) 1.38.0.2734 1175 Friday, November 26, 2021 Approved
Plex (Install) 1.37.0.2706 1309 Thursday, November 11, 2021 Approved
Plex (Install) 1.35.1.2632 2125 Thursday, September 23, 2021 Approved
Plex (Install) 1.34.1.2590 1601 Wednesday, August 25, 2021 Approved
Plex (Install) 1.33.0.2444 2267 Thursday, June 17, 2021 Approved
Plex (Install) 1.31.1.2262 1982 Friday, April 30, 2021 Approved
Plex (Install) 1.31.0.2254 868 Friday, April 23, 2021 Approved
Plex (Install) 1.30.1.2115 1417 Thursday, April 1, 2021 Approved
Plex (Install) 1.30.0.2105 491 Tuesday, March 30, 2021 Approved
Plex (Install) 1.29.1.1974 1242 Saturday, March 13, 2021 Approved
Plex (Install) 1.29.0.1885 547 Thursday, March 11, 2021 Approved
Plex (Install) 1.28.0.1681 1339 Thursday, February 18, 2021 Approved
Plex (Install) 1.27.2.1599 1138 Thursday, February 4, 2021 Approved
Plex (Install) 1.27.1.1571 898 Wednesday, January 27, 2021 Approved
Plex (Install) 1.26.0.1531 1108 Wednesday, January 13, 2021 Approved
Plex (Install) 1.25.0.1511 1565 Thursday, December 10, 2020 Approved
Plex (Install) 1.24.0.1483 1010 Thursday, November 26, 2020 Approved
Plex (Install) 1.23.0.1435 989 Thursday, November 12, 2020 Approved
Plex (Install) 1.22.0.1421 825 Wednesday, November 4, 2020 Approved
Plex (Install) 1.21.0.1410 901 Wednesday, October 21, 2020 Approved
Plex (Install) 1.20.0.1406 1073 Tuesday, September 29, 2020 Approved
Plex (Install) 1.19.0.1399 839 Tuesday, September 15, 2020 Approved
Plex (Install) 1.18.0.1392 796 Thursday, September 3, 2020 Approved
Plex (Install) 1.17.0.1376 830 Wednesday, August 19, 2020 Approved
Plex (Install) 1.16.0.1364 933 Thursday, July 30, 2020 Approved
Plex (Install) 1.15.1.1358 571 Friday, July 24, 2020 Approved
Plex (Install) 1.15.0.1354 257 Thursday, July 23, 2020 Approved
Plex (Install) 1.14.0.1340 665 Tuesday, July 14, 2020 Approved
Plex (Install) 1.13.0.1275 964 Thursday, June 18, 2020 Approved
Plex (Install) 1.12.1.1253 650 Tuesday, June 9, 2020 Approved
Plex (Install) 1.12.0.1232 254 Sunday, June 7, 2020 Approved
Plex (Install) 1.10.0.1208 975 Friday, May 8, 2020 Approved
Plex (Install) 1.9.0.1203 401 Tuesday, May 5, 2020 Approved
Plex (Install) 1.9.0.1188 716 Monday, April 20, 2020 Approved
Plex (Install) 1.8.0.1159 453 Tuesday, April 14, 2020 Approved
Plex (Install) 1.6.5.1097 593 Sunday, April 5, 2020 Approved
Plex (Install) 1.6.3.1009 731 Sunday, March 15, 2020 Approved
Plex (Install) 1.4.1.940 1216 Thursday, November 28, 2019 Approved
Plex (Install) 1.4.0.924 433 Wednesday, November 13, 2019 Approved
Plex (Install) 1.3.1.916 536 Wednesday, September 18, 2019 Approved
Plex (Install) 1.2.0.875 355 Thursday, August 29, 2019 Approved
Plex (Install) 1.1.0.831 216 Monday, August 26, 2019 Approved
Plex (Install) 1.0.0.792 202 Saturday, August 17, 2019 Approved
Discussion for the Plex (Install) Package

Ground Rules:

  • This discussion is only about Plex (Install) and the Plex (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Plex (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus