Skip to content

Commit

Permalink
Add local install note to CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bendrucker committed Dec 9, 2013
1 parent 55ef992 commit bcc9759
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

----

Installing the CLI globally (`npm install -g knex`) will cause dependency issues. You should use the locally installed executable by running `./node_modules/.bin/knex migrate:[command]`.

### knex migrate:make [name]

Creates a new migration, specifying the name for the migration.
Expand All @@ -22,4 +24,4 @@ Rolls back the last migration batch.

### knex migrate:currentVersion

The current version for the migrations.
The current version for the migrations.

0 comments on commit bcc9759

Please sign in to comment.