How to install Sqlite3 on Mac OS X Lion How to install Sqlite3 on Mac OS X Lion sqlite sqlite

How to install Sqlite3 on Mac OS X Lion


Did you have SQLite3 installed in system?

If you're using MacPorts:

sudo port install sqlite3

or Brew:

brew install sqlite3


In order to install sqlite3 on Mac using brew, you can simply run:

$ brew install sqlite3

Probably, you have already installed sqlite3 because by default it comes installed since Mac OSX 10.4 onwards. In this case, you can update sqlite3 using brew by running the following command:

$ brew upgrade sqlite3


I did not have XCode 4 installed, but version 3 instead. After installing 4 I am good to go.