Truffle is a company that has created a set of tools for smart contract development, of which we will be using Truffle and Ganache.
Truffle is a development environment, testing framework, and asset pipeline for blockchains using the Ethereum Virtual Machine. To install
truffle on your computer, go to any terminal (yes - even in the folder you just created) and run
sudo npm install -g truffle).
Ganache lets developers create a personal blockchain for Ethereum development. A developer can use this personal blockchain to deploy contracts, develop applications, and run tests. It is available as a desktop application and a command line tool. In this book we will be using the command line tool. To install
ganache on your computer, run
sudo npm install -g ganache-cli).
To ensure that Truffle is installed correctly, you can run the following command: