---
description: >-
  https://ethereum-blockchain-developer.com/050-supply-chain-project/04-install-truffle/
---

# Truffle

Truffle is a node package. So you need node and npm installed first.

![](https://1628544884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTgomzlmn9NrxUY0OQ3cD%2Fuploads%2FxHrnAeCSMVgSp9V0tnbl%2Fimage.png?alt=media\&token=389329ae-a66a-415e-8f7b-b0913c3ccb30)

To install a specific version -> ...truffle@\<version>

### mkdir

mkdir an empty folder. cd into it.

> truffle unbox react

will download and setup a pre-configured project -> just a started template, like a hello world project.

You can see what the box contains and its github link:\
[https://trufflesuite.com/boxes/react/](https://trufflesuite.com/boxes/react/)\


### vs code plugins

![](https://1628544884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTgomzlmn9NrxUY0OQ3cD%2Fuploads%2Fi6kzlOXRy3BCF1olOmPW%2Fimage.png?alt=media\&token=985f3ce1-4ea6-4582-87d0-67313d1b743e)
