// Mini course
Lesson 01: Set Up the Development Environment
This lesson covers the Windows setup used in the PDF guide: Chocolatey, Visual Studio Code, Git, Node.js, and the Truffle Framework. The PDF recommends VS Code because it works well with Git, Truffle tests, and debugging. fileciteturn0file0
📦 Download the complete MetaCoin project used in this tutorial from GitHub:
Download the MetaCoin Truffle Project
Download the MetaCoin Truffle Project
Step 1: Install Chocolatey
Open PowerShell as Administrator and run:
Set-ExecutionPolicy Bypass
Then install Chocolatey:
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Step 2: Install the core tools
After reopening PowerShell, install the development packages:
choco install visualstudiocode -y
choco install git -y
choco install nodejs -y
- VS Code is the editor.
- Git handles source control.
- Node.js provides npm, which is required to install Truffle.
Step 3: Install Truffle
npm install -g truffle
node -v
npm -v
truffle --version
This confirms that Node.js, npm, and Truffle are installed correctly. The PDF shows this verification step before creating the project. fileciteturn0file0
Tip: close and reopen PowerShell after major installs so the commands become available in your terminal session.