# Installation
Objection.js can be installed usingnpm oryarn. Objection usesknex(opens new window) as its database access layer, so you also need to install it.
npminstall objection knexyarnadd objection knexYou also need to install one of the following depending on the database you want to use:
npminstall pgnpminstall sqlite3npminstall mysqlnpminstall mysql2You can use thenext tag to install an alpha/beta/RC version:
npminstall objection@next