sqlite

Command-line interface for SQLite database management

brewmacoslinux
Try with needOr install directly
Source

About

Command-line interface for SQLite

Commands

sqlite3

Examples

Create a new database and execute SQL commands$ sqlite3 mydb.db 'CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT);'
Open interactive SQLite shell for a database$ sqlite3 mydb.db
Execute SQL query from file and display results$ sqlite3 mydb.db < query.sql