Open your terminal and change into your project base directory. From here, install all needed dependencies.
yarn install
This will install all required dependecies in the directory node_modules.
To compile, deploy and test the smart contracts, go into the projects root directory and use the task runner accordingly.
# Compile contract
yarn compile
# Migrate contract
yarn migrate
# Test the contract
yarn test