Plutus and nix-shell installed on your computer according to instructions
git clone https://github.com/cent-development/basic-smart-contracts.git
Change directory into the folder of your local clone of the plutus-apps repository
cd plutus-apps
nix-shell
In the NIX Shell, change directory into the basic-smart-contracts folder
cd <directory of basic-smart-contracts>
cabal build