Downloads of v 4.2.119:


Last Update:

22 Dec 2021

Package Maintainer(s):

Software Author(s):

  • Hibernating Rhinos


ravendb nosql document database raven


This is not the latest version of RavenDB available.

  • 1
  • 2
  • 3

4.2.119 | Updated: 22 Dec 2021



Downloads of v 4.2.119:


Software Author(s):

  • Hibernating Rhinos

  • 1
  • 2
  • 3
RavenDB 4.2.119

This is not the latest version of RavenDB available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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


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


To uninstall RavenDB, 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

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 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 ravendb -y --source="'INTERNAL REPO URL'" --version="'4.2.119'" [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 ravendb -y --source="'INTERNAL REPO URL'" --version="'4.2.119'" 

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

Exit $exitCode

- name: Install ravendb
    name: ravendb
    version: '4.2.119'
    state: present

See docs at

chocolatey_package 'ravendb' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '4.2.119'

See docs at

cChocoPackageInstaller ravendb
    Name     = "ravendb"
    Version  = "4.2.119"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'ravendb':
  ensure   => '4.2.119',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 22 Dec 2021.


A NoSQL Document Database that has been Fully Transactional for Over a Decade.

Package Specific

Package Parameters

The following package parameters can be set:

  • /setup-as-service: - specifies that ravendb should be configured to run as a windows service
  • /start-service: - specifies that the ravendb service should be started after setup as a service
  • /install-path: - Where to install the binaries to - defaults to "$env:SystemDrive\RavenDB"

To pass parameters, use --params "''" (e.g. choco install packageID [other options] --params="'/ITEM:value /ITEM2:value2 /FLAG_BOOLEAN'").
To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.

$service = 'RavenDB'
if (Get-Service $service -ErrorAction SilentlyContinue) {
  $running = Get-Service $service
  if ($running.Status -eq "Running") {
    Stop-Service $service
$ErrorActionPreference = 'Stop'

$url64bit   = ''
$checksum64 = '05f414948545ffb4050475498454e1489fbc8e45e08922de88babcfde180cbc3'

# Customization
$service = "RavenDB"

$packageParameters = Get-PackageParameters

# Parameter Defaults
if ($null -eq $packageParameters['install-path']) {
  $packageParameters['install-path'] = "$env:SystemDrive\RavenDB"

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  unzipLocation  = $packageParameters['install-path']
  url64bit       = $url64bit
  checksum64     = $checksum64
  checksumType64 = 'sha256'

Install-ChocolateyZipPackage @packageArgs

if ($packageParameters['setup-as-service']) {
    Invoke-Expression -Command "$($packageParameters['install-path'])\Server\rvn.exe windows-service register --service-name $service"
    if ($packageParameters['start-service']) {
      Start-Service -Name RavenDB
Write-Output "Inside chocolateyUninstall"
$service = "RavenDB"
if (Get-Service $service -ErrorAction SilentlyContinue) {
    & sc.exe delete $service

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
RavenDB 5.3.101 99 Wednesday, March 16, 2022 Approved
RavenDB 5.3.100 82 Wednesday, February 2, 2022 Approved
RavenDB 5.3.2 76 Saturday, January 8, 2022 Approved
RavenDB 5.3.1 62 Wednesday, December 22, 2021 Approved
RavenDB 5.3.0 39 Tuesday, November 30, 2021 Approved
RavenDB 5.2.102 11 Thursday, April 21, 2022 Approved
RavenDB 5.2.101 9 Wednesday, March 16, 2022 Approved
RavenDB 5.2.100 30 Wednesday, February 2, 2022 Approved
RavenDB 5.2.6 19 Saturday, January 8, 2022 Approved
Discussion for the RavenDB Package

Ground Rules:

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