本篇目的是讓 Windows 作業系統的使用者，能夠先設定好以太坊 Dapps 的開發環境，以利後續的開發部署。
If you’re thinking of developing decentralized applications on blockchain, the Ethereum Dapps are a good starting.
In this article, I will illustrate the steps you need to follow to setup your Ethereum Dapps development environment for Windows OS with necessary dependencies before developing your first Dapps.
My OS is Windows10(x64) for the following environment construction.
Step 1. Install node.js and npm
Since that you need to install the necessary dependencies and environments of Ethereum Dapps through npm, the first step is to install node.js.
If you have it installed, open the terminal (command prompt) and type command:
>> npm // the command used to install in the following steps
The successful installation looks like this:
Step 2. Install Ganache
Ganache will simulate a local blockchain nodes environment on your device for building such Ethereum applications. It will give you 10 free accounts by default, and each account has 100 fake ethers for testing/deploying purposes.
There are two version for Ganache:
GUI version (recommend)
For a beginner, I recommend to install Ganache-GUI version for easy and friendly interface. You can install it from here:
If you have already been a developer, you can use CLI version for quick development. The Ganache-CLI installation commands are showed below: