Notices: This section not yet converted to new layout. Download stats are rolling back out.

Keepass 2.x (Portable)


Package test results are passing.

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.
  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.
Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

This package was approved as a trusted package on 9/10/2019.

>KeePass is a free open source password manager, which helps you to manage your passwords in a secure way. You can put all your passwords in one database, which is locked with one master key or a key file. So you only have to remember one single master password or select the key file to unlock the whole database. The databases are encrypted using the best and most secure encryption algorithms currently known (AES and Twofish).

1.x and 2.x

KeePass currently is available in two different editions: 1.x and 2.x. They are fundamentally different (2.x is not based on 1.x). They mainly differ in portability and functionality.

KeePass 1.x may be obtained via chocolatey package keepass-classic.
KeePass 2.x may be obtained via this package.

Package Parameters

The following package parameter can be set:

  • /installPath: specify a custom extract location as a full path - defaults to choco folder.

To specify a custom location for the portable files use:

choco install keepass.portable --params="'/installPath:C:\Users\username\OneDrive\KeePass'"

Additional resources

FAQs: General, Technical, Development, Administrative
Command line options

NOTE: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly.

To install Keepass 2.x (Portable), run the following command from the command line or from PowerShell:

C:\> choco install keepass.portable

To upgrade Keepass 2.x (Portable), run the following command from the command line or from PowerShell:

C:\> choco upgrade keepass.portable


  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $installDir = Join-Path -Path (Get-ToolsLocation) -ChildPath $env:ChocolateyPackageName
    $pp = Get-PackageParameters
    if ($pp["installPath"]) {
        $installDir = $pp["installPath"]
    $packageArgs = @{
        packageName    = $env:ChocolateyPackageName
        url            = ''
        checksum       = 'fbbb49048d0fe87a01703fde0fec6352c6caeedc31a11442f8c7a55c525af1fd'
        checksumType   = 'sha256'
        UnzipLocation  = $installDir
    Install-ChocolateyZipPackage @packageArgs
    Install-BinFile -Name 'keepass' -Path (Join-Path -Path $installDir -ChildPath 'keepass.exe')
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $installDir = Join-Path -Path (Get-ToolsLocation) -ChildPath $env:ChocolateyPackageName
    Uninstall-BinFile -Name 'keepass'
    Remove-Item -Path $installDir -Recurse -Force

Virus Scan Results

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.


Package Maintainer(s)

Software Author(s)

  • Dominik Reichl


2018 Dominik Reichl


Release Notes

Version History

Version Downloads Last updated Status
Keepass 2.x (Portable) 2.42.1 249 Saturday, May 4, 2019 approved
Keepass 2.x (Portable) 2.42 58 Thursday, May 2, 2019 approved
Keepass 2.x (Portable) 2.41 247 Wednesday, January 9, 2019 approved
Keepass 2.x (Portable) 2.40 224 Monday, September 10, 2018 approved
Keepass 2.x (Portable) 2.39.1 283 Monday, May 14, 2018 approved
Keepass 2.x (Portable) 2.39 132 Sunday, May 6, 2018 approved
KeePass Password Safe (Portable) 2.38 206 Thursday, March 29, 2018 approved
KeePass Password Safe (Portable) 2.37 425 Monday, October 16, 2017 approved
KeePass Password Safe (Portable) 2.36 354 Wednesday, June 21, 2017 approved
Show More

Discussion for the Keepass 2.x (Portable) Package

Ground rules:

  • This discussion is only about Keepass 2.x (Portable) and the Keepass 2.x (Portable) 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 Keepass 2.x (Portable), 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 uses cookies to enhance the user experience of the site.