Skip to content

Install Truffle

To install truffle open a terminal (Mac/Linux) or a PowerShell (Windows 10)

Type in:

npm install -g truffle

Hint: I am working here with version 5.1.8 of Truffle. If you want to follow the exact same version then type in npm install -g truffle@5.1.8

Then create an empty folder, in this case I am creating "s06-eventtrigger"

mkdir s06-eventtrigger
cd s06-eventtrigger
ls

And unbox the react box:

truffle unbox react

this should download a repository and install all dependencies in the current folder:


Last update: April 17, 2021