Prerequisits: have Maria-db installed have user/password/database corresponding to those in knexfile.js How to use: git clone https://github.com/vdechef/knexexample.git cd knexexample npm i npx knex migrate:latest