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

This is not the latest version of SQLite available.



Package test results are passing.

This package was approved as a trusted package on 3/29/2019.

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"

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

C:\> choco install sqlite --version 3.27.2

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

C:\> choco upgrade sqlite --version 3.27.2


  • 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: 60489274F4C02738F3FCF4C5747F978E98397902458C9CC4D3470A2E9B87F22D
       checksum64: FC4337FEF29A849A70378EF8D990E1D138B8656272455CBBABB472C19CE1A1F2
       checksumTools32: 753B16D7569DE9416AD32919FF5063BAF2CB2A20CCDD0E168CA7FF02E7D189ED
    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-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
  • tools\ Show
    md5: B2B8BD32F6C29274EFC819A180A535BC | sha1: BB7853EE21D0BA9530B9CC0E98EF8DD055904FDA | sha256: 60489274F4C02738F3FCF4C5747F978E98397902458C9CC4D3470A2E9B87F22D | sha512: 50BFB93FF51DF9E9AAB3768CA9BD105C4CF12467179687DA8F516F474B33390D645ACE2ABEF1C599425124B5EB788311961253E34FEBA49321E5C9D0D57DDFA6
  • tools\ Show
    md5: 83D5444D11BBDD1EAAB0B97F1011A67A | sha1: 4D6B88B94E3CA407611128426253B8853B4EAFBB | sha256: FC4337FEF29A849A70378EF8D990E1D138B8656272455CBBABB472C19CE1A1F2 | sha512: 5C8ECCE5825308D80053148624815D8CBACF37B51FEC9DB65B5EA84CC2C5B61466A2926D1D9267F5791C8318C396267DB8AE3E77F081C68CBB1C6D328BF24226
  • tools\ Show
    md5: 4326AD8821C52B72B979F648FC0CDBB1 | sha1: E22F8A83B470052737478CCCF20D165FDFA48342 | sha256: 753B16D7569DE9416AD32919FF5063BAF2CB2A20CCDD0E168CA7FF02E7D189ED | sha512: 22DCB0E50C1D013AE63AA0FF66499103613EF19854D7DF856E6D39BF63D4CB54EB3FA7DAEE0CD6F2D7F85251B3D7BA27BF356D66DB2470E1E5ED3C724B0004E1

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.28.0 14320 Wednesday, April 17, 2019 approved
SQLite 3.27.2 9620 Tuesday, February 26, 2019 approved
SQLite 3.27.1 3666 Saturday, February 9, 2019 approved
SQLite 3.27.0 871 Friday, February 8, 2019 approved
SQLite 3.26.0 9200 Sunday, December 2, 2018 approved
SQLite 3.25.3 3805 Tuesday, November 6, 2018 approved
SQLite 3.25.2 6193 Thursday, September 27, 2018 approved
SQLite 3.25.1 2190 Wednesday, September 19, 2018 approved
SQLite 3.24.0 23990 Thursday, June 7, 2018 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.