Downloads of v 6.0:


Last Update:

13 Oct 2021

Package Maintainer(s):

Software Author(s):

  • The PostgreSQL Global Development Group
  • Current Maintainer: Dave Page


pgadmin4 pgadmin postgres postgresql admin

pgAdmin 4

  • 1
  • 2
  • 3

6.0 | Updated: 13 Oct 2021



Downloads of v 6.0:



Software Author(s):

  • The PostgreSQL Global Development Group
  • Current Maintainer: Dave Page

  • 1
  • 2
  • 3
pgAdmin 4 6.0

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files


To install pgAdmin 4, run the following command from the command line or from PowerShell:


To upgrade pgAdmin 4, run the following command from the command line or from PowerShell:


To uninstall pgAdmin 4, run the following command from the command line or from PowerShell:


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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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 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. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade pgadmin4 -y --source="'STEP 3 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 pgadmin4 -y --source="'STEP 3 URL'"

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

Exit $exitCode

- name: Ensure pgadmin4 installed
    name: pgadmin4
    state: present
    version: 6.0
    source: STEP 3 URL

See docs at

chocolatey_package 'pgadmin4' do
  action    :install
  version  '6.0'
  source   'STEP 3 URL'

See docs at

    Name: pgadmin4,
    Version: 6.0,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller pgadmin4
   Name     = 'pgadmin4'
   Ensure   = 'Present'
   Version  = '6.0'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'pgadmin4':
  provider => 'chocolatey',
  ensure   => '6.0',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install pgadmin4 version="6.0" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

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

This package was approved as a trusted package on 13 Oct 2021.


pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.

pgAdmin is designed to answer the needs of all users, from writing simple SQL queries to developing complex databases. The graphical interface supports all PostgreSQL features and makes administration easy. The application also includes a syntax highlighting SQL editor, a server-side code editor, an SQL/batch/shell job scheduling agent, support for the Slony-I replication engine and much more. Server connection may be made using TCP/IP or Unix Domain Sockets (on *nix platforms), and may be SSL encrypted for security. No additional drivers are required to communicate with the database server.

$ErrorActionPreference = 'Stop'; # stop on all errors

$packageName   = 'pgadmin4'
$toolsDir      = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url64         = ''
$checksum64    = 'b7c4f7ebfedf2745b2abb7800ac0c287af04eb10a9e880fdc1050c445bc89cc8'
$checksumType64= 'sha256'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'EXE'

  validExitCodes= @(0)

  softwareName  = 'pgAdmin 4'

  url64         = $url64
  checksum64    = $checksum64
  checksumType64= $checksumType64

Install-ChocolateyPackage @packageArgs

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.

Version Downloads Last Updated Status
pgAdmin 4 5.7 3514 Friday, September 10, 2021 Approved
pgAdmin 4 5.6 404 Thursday, September 9, 2021 Approved
pgAdmin 4 5.5 3718 Wednesday, August 4, 2021 Approved
pgAdmin 4 5.4 4938 Friday, June 18, 2021 Approved
pgAdmin 4 5.3 1548 Friday, June 11, 2021 Approved
pgAdmin 4 5.2 3339 Monday, May 17, 2021 Approved
pgAdmin 4 5.1 4556 Tuesday, March 30, 2021 Approved
pgAdmin 4 5.0 2874 Wednesday, March 10, 2021 Approved
pgAdmin 4 4.30 7442 Tuesday, February 2, 2021 Approved

This package has no dependencies.

Discussion for the pgAdmin 4 Package

Ground Rules:

  • This discussion is only about pgAdmin 4 and the pgAdmin 4 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 pgAdmin 4, 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