The Truffle suite offers truffle command-line tools to perform developer-centric tasks for Ethereum smart-contract projects. The truffle development environment provides network management, a testing framework, deployment, and a migration framework.
Using deployment and migration scripts, you can write scripts to deploy contracts and link them together. Using network management commands, you can manage deployment and migration states per network.Â
To install truffle, you need to execute the following command:
$ npm install -g truffle
As of writing this chapter, the latest version released by truffle is version v5.0.1.
As shown in the following screenshot, the following are the truffle command options available:
 truffle command options available
Out of the preceding commands, the following...