SQLite Installation

SQLite is installed on many operating systems by default, so there's a good chance that you already have it installed (perhaps, without knowing it).

Before you try to install SQLite, you should check to see whether it's already installed.

For example, SQLite is installed in Windows 10, Mac OSX, most Linux distributions, Android phones, iPhones, etc

Check for SQLite

The first thing to do is to check whether SQLite is installed on your system or not. You can do this simply by entering sqlite3 into your system's command line interface (assuming version 3+ is installed).

For example, on a Mac, open the Terminal and enter sqlite3.

If SQLite is installed on your system, entering sqlite3 should produce text similar to the following:

Otherwise you'll end up with a command not found message.

Download & Install

If you don't already have SQLite installed, you'll need to download it from the SQLite download page.

Once downloaded, you'll need to extract the ZIP file to install.

If you're on Windows, extract the contents of the ZIP file into a folder called sqlite (or whatever you wish to call it), then add that folder to your path (so that you can invoke the SQLite Command Shell from within the Windows console).

In Windows, you can run the SQLite command-line utility by double-clicking on sqlite3.exe.

Once you've verified that SQLite is installed on your system, you can now create a database.