Downloads of v 3.16.1:


Last Update:

04 Jan 2017

Package Maintainer(s):

Software Author(s):

  • D. Richard Hipp
  • SQLite contributors


sql sqlite db database embedded foss cross-platform


This is not the latest version of SQLite available.

  • 1
  • 2
  • 3

3.16.1 | Updated: 04 Jan 2017



Downloads of v 3.16.1:



Software Author(s):

  • D. Richard Hipp
  • SQLite contributors

  • 1
  • 2
  • 3
SQLite 3.16.1

This is not the latest version of SQLite available.

  • 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

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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


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


To uninstall SQLite, 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 sqlite -y --source="'INTERNAL REPO URL'" --version="'3.16.1'" [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 sqlite -y --source="'INTERNAL REPO URL'" --version="'3.16.1'" 

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

Exit $exitCode

- name: Install sqlite
    name: sqlite
    version: '3.16.1'
    state: present

See docs at

chocolatey_package 'sqlite' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.16.1'

See docs at

cChocoPackageInstaller sqlite
    Name     = "sqlite"
    Version  = "3.16.1"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'sqlite':
  ensure   => '3.16.1',
  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 04 Jan 2017.


SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.

This package installs the DLL (32-bit only, even on 64-bit systems) for the SQLite SQL database engine in your system PATH. This package is only needed if you have software that expects the SQLite DLL in the PATH. If you just want to create or manage SQLite databases, install the SQLite Shell instead. A (proprietary, but free for non-commercial use) GUI tool to manage SQLite databases is SQLite Administrator.

Package notes

  • Only x32 DLL is available without tools.

$ErrorActionPreference = 'Stop'

$packageName    = 'sqlite'
$url32          = ''
$url64          = $url32
$checksum32     = '0bc15fdf67967a7f807da4b760332c05adf273445c14ad846c726a4704936f06'
$checksum64     = $checksum32
$instDir        = "$(Get-ToolsLocation)\$packageName"

# Detect if sqlite package uses old/deprecated installation path
$oldInstDir = Join-Path $env:ChocolateyInstall 'bin'
$sqliteFiles = @('sqlite3.dll', 'sqlite3.def')
foreach ($file in $sqliteFiles) {
    $oldFilePath = Join-Path $oldInstDir $file
    if (Test-Path $oldFilePath) { $usesOldPath = $true }
if ($usesOldPath) {
  Write-Host @"
Old installation directory for $packageName detected: $oldInstDir
If you want to use the new installation directory (ChocolateyBinRoot\$packageName),
remove the old sqlite*.dll sqlite*.def files and reinstall this package with the -force parameter.
    $instDir = $oldInstDir

$packageArgs = @{
  packageName    = $packageName
  url            = $url32
  url64Bit       = $url64
  checksum       = $checksum32
  checksum64     = $checksum64
  checksumType   = 'sha256'
  checksumType64 = 'sha256'
  unzipLocation  = $instDir
Install-ChocolateyZipPackage @packageArgs
if (!$usesOldPath) {
    Install-ChocolateyPath $instDir 'Machine'
    $env:Path = "$($env:Path);$instDir"
$ErrorActionPreference = 'Stop'

$packageName = 'sqlite'
$instDir     = "$(Get-ToolsLocation)\$packageName"

Write-Host "Removing $packageName from the '$instDir'"
rm $instDir -Recurse -Force -ea 0

$new_path = $Env:Path.Replace(";$instDir", '')
if ($new_path -eq $Env:PATH) { return }
Write-Host "Removing $packageName from system PATH"
[System.Environment]::SetEnvironmentVariable('PATH', $new_path, 'Machine')

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
SQLite 3.38.4 1301 Thursday, May 5, 2022 Approved
SQLite 3.38.3 2353 Wednesday, April 27, 2022 Approved
SQLite 3.38.2 5310 Saturday, March 26, 2022 Approved
SQLite 3.38.1 3252 Saturday, March 12, 2022 Approved
SQLite 3.38.0 3730 Wednesday, February 23, 2022 Approved
SQLite 3.37.2 6697 Thursday, January 6, 2022 Approved
SQLite 3.37.1 1720 Friday, December 31, 2021 Approved
SQLite 3.37.0 4607 Monday, November 29, 2021 Approved
SQLite 3.36.0 14298 Saturday, June 19, 2021 Approved

Discussion for the SQLite Package

Ground Rules:

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