Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

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

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
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
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand



Downloads of v 3.31.1:


Last Update:

28 Jan 2020

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.31.1 | Updated: 28 Jan 2020



Downloads of v 3.31.1:



Software Author(s):

  • D. Richard Hipp
  • SQLite contributors

SQLite 3.31.1

This is not the latest version of SQLite 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:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

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:


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.31.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.31.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.31.1'
    state: present

See docs at

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

See docs at

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

Requires cChoco DSC Resource. See docs at

package { 'sqlite':
  ensure   => '3.31.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.

Package Approved

This package was approved as a trusted package on 28 Jan 2020.


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

This package also installs sqlite tools by default - sqldiff, sqlite3, sqlite3_analyzer.


  • Transactions are atomic, consistent, isolated, and durable (ACID) even after system crashes and power failures.
  • Zero-configuration - no setup or administration needed.
  • Full-featured SQL implementation with advanced capabilities like partial indexes, indexes on expressions, JSON, and common table expressions. (Omitted features)
  • A complete database is stored in a single cross-platform disk file. Great for use as an application file format.
  • Supports terabyte-sized databases and gigabyte-sized strings and blobs. (See limits.html.)
  • Small code footprint: less than 500KiB fully configured or much less with optional features omitted.
  • Simple, easy to use API.
  • Written in ANSI-C. TCL bindings included. Bindings for dozens of other languages available separately.
  • Well-commented source code with 100% branch test coverage.
  • Available as a single ANSI-C source-code file that is easy to compile and hence is easy to add into a larger project.
  • Self-contained: no external dependencies.
  • Cross-platform: Android, *BSD, iOS, Linux, Mac, Solaris, VxWorks, and Windows (Win32, WinCE, WinRT) are supported out of the box. Easy to port to other systems.
  • Sources are in the public domain. Use for any purpose.
  • Comes with a standalone command-line interface (CLI) client that can be used to administer SQLite databases.

Package parameters

  • /NoTools - Do not install sqlite tools

Example: choco install sqlite --params "/NoTools"

## SQLite Is Public Domain

All of the code and documentation in SQLite has been dedicated to the [public domain]( by the authors. All code authors, and representatives of the companies they work for, have signed affidavits dedicating their contributions to the public domain and originals of those signed affidavits are stored in a firesafe at the main offices of [Hwaci]( Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original SQLite code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

The previous paragraph applies to the deliverable code and documentation in SQLite - those parts of the SQLite library that you actually bundle and ship with a larger application. Some scripts used as part of the build process (for example the "configure" scripts generated by autoconf) might fall under other open-source licenses. Nothing from these build scripts ever reaches the final deliverable SQLite library, however, and so the licenses associated with those scripts should not be a factor in assessing your rights to copy and use the SQLite library.

All of the deliverable code in SQLite has been written from scratch. No code has been taken from other projects or from the open internet. Every line of code can be traced back to its original author, and all of those authors have public domain dedications on file. So the SQLite code base is clean and is uncontaminated with licensed code from other projects.

## Obtaining An License To Use SQLite

Even though SQLite is in the public domain and does not require a license, some users want to obtain a license anyway. Some reasons for obtaining a license include:

*   Your company desires warranty of title and/or indemnity against claims of copyright infringement.
*   You are using SQLite in a jurisdiction that does not recognize the public domain.
*   You are using SQLite in a jurisdiction that does not recognize the right of an author to dedicate their work to the public domain.
*   You want to hold a tangible legal document as evidence that you have the legal right to use and distribute SQLite.
*   Your legal department tells you that you have to purchase a license.

If you feel like you really need to purchase a license for SQLite, [Hwaci](, the company that employs all the developers of SQLite, will [sell you one]( All proceeds from the sale of SQLite licenses are used to fund continuing improvement and support of SQLite.

## Contributed Code

In order to keep SQLite completely free and unencumbered by copyright, all new contributors to the SQLite code base are asked to dedicate their contributions to the public domain. If you want to send a patch or enhancement for possible inclusion in the SQLite source tree, please accompany the patch with the following statement:

> _The author or authors of this code dedicate any and all copyright interest in this code to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this code under copyright law._

We are not able to accept patches or changes to SQLite that are not accompanied by a statement such as the above. In addition, if you make changes or enhancements as an employee, then a simple statement such as the above is insufficient. You must also send by surface mail a copyright release signed by a company officer. A signed original of the copyright release should be mailed to:

> Hwaci  
> 6200 Maple Cove Lane  
> Charlotte, NC 28269  

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Package can be verified like this:

1. Go to


   to download the files.

2. You can use one of the following methods to obtain the SHA256 checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'

   checksum32: F18698AE859612D4A93A4EE9F98882BFC345964DE58814EDB9CCA31A9B6B6BE1
   checksum64: 2CA546AF8ECE312FE421510277837B1E3CE2625E772150030B1F841758615D2A
   checksumTools32: 941F6C021CAE05D9559DD7FC89CEF61E3752E5E8397EF7C8809B60EC7F9E8DA7

File 'license.txt' is obtained from the following URL (and converted to markdown):
$ErrorActionPreference = 'Stop'

$toolsDir = Split-Path $MyInvocation.MyCommand.Definition
$embedded_path = if ((Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true') {
         Write-Host "Installing 64 bit version"; Get-Item "$toolsDir\*dll*win64*.zip"
} else { Write-Host "Installing 32 bit version"; Get-Item "$toolsDir\*dll*win32*.zip" }

$packageArgs = @{
    PackageName  = 'sqlite'
    FileFullPath = $embedded_path
    Destination  = $toolsDir
Get-ChildItem $toolsDir\* | Where-Object { $_.PSISContainer } | Remove-Item -Recurse -Force #remove older package dirs
Get-ChocolateyUnzip @packageArgs

$pp = Get-PackageParameters
if (!$pp.NoTools) {
    Write-Host "Installing tools"
    $packageArgs.FileFullPath = Get-Item "$toolsDir\*tools*win32*.zip"
    Get-ChocolateyUnzip @packageArgs

Remove-Item $toolsDir\*.zip -ea 0
md5: 71C11AEA6AE9AF23861EE206577F3304 | sha1: 3475DCCC0378A0B2407AE78725D1A18D7885CDD5 | sha256: F18698AE859612D4A93A4EE9F98882BFC345964DE58814EDB9CCA31A9B6B6BE1 | sha512: 2A7676B25A22129BEB079FAA66083A6D23E135454F2A46D1B32D57191C0399F475E11811D878648D077C6DC22CB7CA2AC31B5889B06836B8B4E9370CC3A427C1
md5: 662C9D2B05467D590BA5C0443E7FD6BD | sha1: 300C5F26FEB297968F06790C5B1E19DB9347DA67 | sha256: 2CA546AF8ECE312FE421510277837B1E3CE2625E772150030B1F841758615D2A | sha512: 75384F83096C941D8BFD2D317173FB1791F73373FF177D0F00989A71FFEBEC4976EA9B1C15505B0F01B1200D72BEF0640B7E526F77459C8B5360ED52FE441A26
md5: F8B81C89C366F317C7F544FEC7B31BC2 | sha1: 84DE665D28CFF0F8C512889CD356712E17310637 | sha256: 941F6C021CAE05D9559DD7FC89CEF61E3752E5E8397EF7C8809B60EC7F9E8DA7 | sha512: A298E8CBFB2B02CD940189CB9C76E013EFD32C5DE05B81606CE9FA0E43EED9B36A7ADE4968405DA415B15683C14F182F1DC47F3B4CDEE0C991EFAD58936431A9

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.43.1 5140 Monday, September 11, 2023 Approved
SQLite 3.43.0 39 Thursday, August 24, 2023 Exempted
SQLite 3.42.0 14436 Tuesday, May 16, 2023 Approved
SQLite 3.41.2 8272 Wednesday, March 22, 2023 Approved
SQLite 3.41.1 2963 Saturday, March 11, 2023 Approved
SQLite 3.41.0 4138 Wednesday, February 22, 2023 Approved
SQLite 3.40.1 18796 Wednesday, December 28, 2022 Approved
SQLite 3.40.0 6483 Thursday, November 17, 2022 Approved
SQLite 3.39.4 7189 Friday, September 30, 2022 Approved
SQLite 3.39.3 4445 Monday, September 5, 2022 Approved
SQLite 3.39.2 4459 Thursday, July 21, 2022 Approved
SQLite 3.39.1 4580 Thursday, July 14, 2022 Approved
SQLite 3.39.0 3127 Saturday, June 25, 2022 Approved
SQLite 3.38.5 6450 Saturday, May 7, 2022 Approved
SQLite 3.38.4 1339 Thursday, May 5, 2022 Approved
SQLite 3.38.3 2402 Wednesday, April 27, 2022 Approved
SQLite 3.38.2 5363 Saturday, March 26, 2022 Approved
SQLite 3.38.1 3293 Saturday, March 12, 2022 Approved
SQLite 3.38.0 3776 Wednesday, February 23, 2022 Approved
SQLite 3.37.2 6746 Thursday, January 6, 2022 Approved
SQLite 3.37.1 1775 Friday, December 31, 2021 Approved
SQLite 3.37.0 4656 Monday, November 29, 2021 Approved
SQLite 3.36.0 14359 Saturday, June 19, 2021 Approved
SQLite 3.35.5 7159 Thursday, April 22, 2021 Approved
SQLite 3.35.4 3516 Saturday, April 3, 2021 Approved
SQLite 3.35.3 607 Friday, March 26, 2021 Approved
SQLite 3.35.2 3010 Thursday, March 18, 2021 Approved
SQLite 3.35.1 965 Tuesday, March 16, 2021 Approved
SQLite 3.35.0 1358 Saturday, March 13, 2021 Approved
SQLite 3.34.1 8029 Thursday, January 21, 2021 Approved
SQLite 3.34.0 6240 Wednesday, December 2, 2020 Approved
SQLite 3.33.0 15057 Saturday, August 15, 2020 Approved
SQLite 3.32.3 9225 Saturday, June 20, 2020 Approved
SQLite 3.32.2 3240 Sunday, June 7, 2020 Approved
SQLite 3.32.1 2178 Tuesday, May 26, 2020 Approved
SQLite 3.32.0 1039 Saturday, May 23, 2020 Approved
SQLite 3.31.1 19771 Tuesday, January 28, 2020 Approved
SQLite 3.31.0 1168 Friday, January 24, 2020 Approved
SQLite 3.30.1 15902 Friday, October 11, 2019 Approved
SQLite 3.30.0 1561 Saturday, October 5, 2019 Approved
SQLite 3.29.0 13126 Thursday, July 11, 2019 Approved
SQLite 3.28.0 14531 Wednesday, April 17, 2019 Approved
SQLite 3.27.2 9831 Tuesday, February 26, 2019 Approved
SQLite 3.27.1 3852 Saturday, February 9, 2019 Approved
SQLite 3.27.0 1070 Friday, February 8, 2019 Approved
SQLite 3.26.0 9422 Sunday, December 2, 2018 Approved
SQLite 3.25.3 3992 Tuesday, November 6, 2018 Approved
SQLite 3.25.2 6393 Thursday, September 27, 2018 Approved
SQLite 3.25.1 2389 Wednesday, September 19, 2018 Approved
SQLite 3.24.0 24207 Thursday, June 7, 2018 Approved
SQLite 3.23.1 10637 Wednesday, April 11, 2018 Approved
SQLite 3.23.0 2361 Monday, April 2, 2018 Approved
SQLite 3.22.0 7333 Tuesday, January 23, 2018 Approved
SQLite 3.21.0 7898 Wednesday, October 25, 2017 Approved
SQLite 3.20.1 6233 Saturday, September 2, 2017 Approved
SQLite 3.20.0 7836 Tuesday, August 1, 2017 Approved
SQLite 3.19.3 12413 Thursday, June 8, 2017 Approved
SQLite 3.19.2 7301 Thursday, May 25, 2017 Approved
SQLite 3.19.1 861 Wednesday, May 24, 2017 Approved
SQLite 3.19.0 1095 Monday, May 22, 2017 Approved
SQLite 3.18.0 14455 Thursday, March 30, 2017 Approved
SQLite 3.17.0 12070 Monday, February 13, 2017 Approved
SQLite 3.16.2 4619 Friday, January 6, 2017 Approved
SQLite 3.16.1 536 Wednesday, January 4, 2017 Approved
SQLite 3.16.0 491 Monday, January 2, 2017 Approved
SQLite 3.15.2 827 Monday, November 28, 2016 Approved
SQLite 3.15.1 728 Friday, November 4, 2016 Approved
SQLite 3.14.1 1720 Thursday, August 11, 2016 Approved
SQLite 3.14.0 501 Monday, August 8, 2016 Approved
SQLite 3.13.0 616 Wednesday, May 18, 2016 Approved
SQLite 3.12.2 608 Monday, April 18, 2016 Approved
SQLite 3.12.1 600 Friday, April 8, 2016 Approved
SQLite 3.12.0 652 Tuesday, March 29, 2016 Approved
SQLite 3.11.1 712 Thursday, March 3, 2016 Approved
SQLite 3.11.0 631 Monday, February 15, 2016 Approved
SQLite 3.10.2 762 Thursday, January 21, 2016 Approved
SQLite 3.10.1 587 Thursday, January 14, 2016 Approved
SQLite 3.10.0 631 Wednesday, January 6, 2016 Approved
SQLite 3.9.2 1054 Monday, November 2, 2015 Approved
SQLite 3.9.0 718 Wednesday, October 14, 2015 Approved
SQLite 936 Wednesday, July 29, 2015 Approved
SQLite 3.8.11 542 Monday, July 27, 2015 Approved
SQLite 845 Wednesday, May 20, 2015 Approved
SQLite 529 Saturday, May 9, 2015 Approved
SQLite 3.8.10 515 Thursday, May 7, 2015 Approved
SQLite 3.8.9 640 Saturday, April 11, 2015 Approved
SQLite 560 Wednesday, April 8, 2015 Approved
SQLite 3.8.8 967 Friday, January 16, 2015 Approved
SQLite 584 Tuesday, December 16, 2014 Approved
SQLite 482 Monday, December 15, 2014 Approved
SQLite 457 Wednesday, December 10, 2014 Approved
SQLite 564 Wednesday, November 19, 2014 Approved
SQLite 659 Wednesday, October 29, 2014 Approved
SQLite 3.8.7 540 Friday, October 17, 2014 Approved
SQLite 3.8.6 816 Friday, August 15, 2014 Approved
SQLite 496 Saturday, August 9, 2014 Approved
SQLite 3.8.5 1816 Wednesday, June 4, 2014 Approved
SQLite 681 Thursday, April 3, 2014 Approved
SQLite 488 Thursday, March 27, 2014 Approved
SQLite 531 Tuesday, March 11, 2014 Approved
SQLite 3.8.4 448 Monday, March 10, 2014 Approved
SQLite 541 Tuesday, February 11, 2014 Approved
SQLite 3.8.3 481 Tuesday, February 4, 2014 Approved
SQLite 3.8.2 666 Friday, December 6, 2013 Approved
SQLite 3.8.1 621 Friday, October 18, 2013 Approved
SQLite 522 Wednesday, October 9, 2013 Approved
SQLite 938 Sunday, January 22, 2012 Approved
SQLite 483 Friday, January 13, 2012 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