Macbook (Intel)
More details, please see Macbook (M1)
Step 1. Install Nix
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volumeStep 2. Restart terminal
Step 3. Edit the /etc/nix/nix.conf file
sudo nano /etc/nix/nix.confStep 4. Be sure these lines are all inside the file
build-users-group = nixbld
experimental-features = nix-command
substituters = https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=volumeStep 5. Restart computer
Step 6. Clone the plutus apps repo
git clone https://github.com/input-output-hk/plutus-appsStep 7. Go to plutus directory
cd plutus-apps/Step 8. Build the plutus playground
Step 8.1. Build server
nix-build -A plutus-playground.serverStep 8.2. Build client
Step 9. Fire up nix-shell
This may take a while first time around.
Step 10. Start plutus server
Step 11. Fire up a second nix-shell (i.e., in a second terminal)
This should now be quicker since all hooks are up to date.
Step 12. Update npm
You may have to run this command using sudo.
Step 13. Start plutus client
Step 14. That's it. Open your browser and navigate to https://localhost:8009/ to compile and evaluate your hello plutus.
This guide copy-paste from Tilman Dingler's github.
Last updated
Was this helpful?