Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

This is not the latest version of SQLite available.



Package test results are passing.

This package was approved as a trusted package on 12/24/2017.

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

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

C:\> choco install sqlite --version 3.21.0

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

C:\> choco upgrade sqlite --version 3.21.0


  • legal\License.txt Show
    ## 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  
    > USA
  • legal\VERIFICATION.txt Show
    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: 22BB304AAB3EC7A51FC4DC7749F304BBE01C5EC014144FBC8F86012DC3B0708B
       checksum64: 8943F4D2F3F9E5D360BF2D87152E272F79C9F548E21B045AF25B9E89DFBC7769
       checksumTools32: BEE05E6E3D6C15A4B149CF879596E602A025C0C622B862BC2A2A056003D2A64B
    File 'license.txt' is obtained from the following URL (and converted to markdown):
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $toolsDir = Split-Path $MyInvocation.MyCommand.Definition
    $embedded_path = if ((Get-ProcessorBits 64) -and $env:chocolateyForceX86 -ne 'true') {
             Write-Host "Installing 64 bit version"; gi "$toolsDir\*dll*win64*.zip"
    } else { Write-Host "Installing 32 bit version"; gi "$toolsDir\*dll*win32*.zip" }
    $packageArgs = @{
        PackageName  = 'sqlite'
        FileFullPath = $embedded_path
        Destination  = $toolsDir
    ls $toolsDir\* | ? { $_.PSISContainer } | rm -Recurse -Force #remove older package dirs
    Get-ChocolateyUnzip @packageArgs
    $pp = Get-PackageParameters
    if (!$pp.NoTools) {
        Write-Host "Installing tools"
        $packageArgs.FileFullPath = gi "$toolsDir\*tools*win32*.zip"
        Get-ChocolateyUnzip @packageArgs
    rm $toolsDir\*.zip -ea 0
  • tools\ Show
    md5: C42EC8F35C6A06666E6AD54471A2728B | sha1: C3CC57A816927FA616616939B4B7A63C2322CFA1 | sha256: 22BB304AAB3EC7A51FC4DC7749F304BBE01C5EC014144FBC8F86012DC3B0708B | sha512: 6FE9A3C3F861663B6408FD5136D202835A89344072996DD65DDA14FA04707662A26D0C6ED482FD0606A270943112D9EFFC07424AF90621094F6FBB88C8FF7EAE
  • tools\ Show
    md5: 905ABE8B34118A913AC483A4DC9293C2 | sha1: A0EE0843315AD667B05538678C6CD31564E71F4C | sha256: 8943F4D2F3F9E5D360BF2D87152E272F79C9F548E21B045AF25B9E89DFBC7769 | sha512: 1406F3AB7D6A3C176653260B4C0D98E4566216411D2845D574B64367CC831D930B38CC8353E627B23D4E8ABA0FCFD919F3D8EC448220DB94002F02141E9026EB
  • tools\ Show
    md5: 267201B7ED0B43371DCB028C86E2DCF2 | sha1: 687D1C732BE88E1B572A81E86D6CC9F8DC60390A | sha256: BEE05E6E3D6C15A4B149CF879596E602A025C0C622B862BC2A2A056003D2A64B | sha512: 34A4A26271303DC80B5B29527AFF8C12CA766E7FBD644B32E66B23C6293037264CFD5565EFF18C880B355FF3ED3F2E8FE631B6365D3E285907DB699D5540DE4E

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)

  • D. Richard Hipp
  • SQLite contributors


Release Notes

Version History

Version Downloads Last updated Status
SQLite 3.25.1 2119 Wednesday, September 19, 2018 approved
SQLite 3.24.0 23909 Thursday, June 7, 2018 approved
SQLite 3.23.1 10329 Wednesday, April 11, 2018 approved
SQLite 3.23.0 2069 Monday, April 2, 2018 approved
SQLite 3.22.0 7045 Tuesday, January 23, 2018 approved
SQLite 3.21.0 7621 Wednesday, October 25, 2017 approved
SQLite 3.20.1 5974 Saturday, September 2, 2017 approved
SQLite 3.20.0 7453 Tuesday, August 1, 2017 approved
SQLite 3.19.3 12113 Thursday, June 8, 2017 approved
Show More

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 uses cookies to enhance the user experience of the site.