Installation Truffle
NodeJs installation
https://nodejs.org/en/download/
Npm source configured to domestic sources (optional, can speed up the download speed):
sudo npm config set registry http://registry.npm.taobao.org
Installation Truffle
sudo npm install -g truffle
Ethernet client installation Square
Deployed to the private chain, Truffle official recommended the following two clients:
● Ganache
● Develop Truffle
https://www.trufflesuite.com/ganache download or github compiled
https://github.com/trufflesuite/ganache