# Installation

Objection.js can be installed using npm or yarn. Objection uses knex (opens new window) as its database access layer, so you also need to install it.

npm install objection knex
yarn add objection knex

You also need to install one of the following depending on the database you want to use:

npm install pg
npm install sqlite3
npm install mysql
npm install mysql2

You can use the next tag to install an alpha/beta/RC version:

npm install objection@next