Subcommands25 subcommands
truffle build
Execute build pipeline (if configuration present)
truffle compile
Compile contract source files
truffle config
Set user-level configuration options
truffle config get
Get a Truffle configuration option value
truffle config set
Set a Truffle configuration option value
truffle console
Run a console with contract abstractions and commands available
truffle create
Helper to create new contracts, migrations and tests
truffle debug
Interactively debug any transaction on the blockchain
truffle deploy
Alias for migrate. See migrate for details
truffle develop
Open a console with a development blockchaine
truffle exec
Execute a JS module within the Truffle environment
truffle help
Display a list of all commands or information about a specific command
truffle init
Initialize new and empty Ethereum project
truffle install
Install a package from the Ethereum Package Registry
truffle networks
Show addresses for deployed contracts on each network
truffle obtain
Fetch and cache a specified compiler
truffle opcode
Print the compiled opcodes for a given contract
truffle publish
Publish a package to the Ethereum Package Registry
truffle run
Run a third-party plugin command
truffle version
Show version number and exit
truffle watch
Watch filesystem for changes and rebuild the project automatically
truffle preserve
Save data to decentralized storage platforms like IPFS and Filecoin
truffle migrate
Run migrations to deploy contracts
truffle unbox
Download a Truffle Box, a pre-built Truffle project
truffle test
Run JavaScript and Solidity tests