truffle migrate

Run migrations to deploy contracts

Options

NameDescription
--resetRun all migrations from the beginning, instead of running from the last completed migration
--f <number>Run contracts from a specific migration
--to <number>Run contracts to a specific migration
--network <name>Specify the network to use, saving artifacts specific to that network
--compile-allCompile all contracts instead of intelligently choosing which contracts need to be compiled
--verbose-rpcLog communication between Truffle and the Ethereum client
--dry-runFork the network specified and only perform a test migration
--skip-dry-runSkip the test migration performed before the real migration
--interactivePrompt to confirm that the user wants to proceed after the dry run
--describe-jsonPrints additional status messages