Is there any difference between truffle migrate and truffle deploy, as of now what I observed is both the command perform deployment on desired networks

one recognizable difference which we can see in console is, when we run

truffle deploy

consoles shows,

Running migration: 1_initial_migration.js

Deploying Migrations...

and when we run

truffle migrate

Running migration: 1_initial_migration.js

Replacing Migrations...

can any one explain what is the exact difference between these two and is there any effect on deployment done by these two different ways.

1 Answer 1


truffle deploy is an alias for truffle migrate. They both do the same thing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.