How to install Ganache on Windows (<10)

Erdoğan Bavaş
1 min readFeb 17, 2018

--

We all know testrpc, command line tool to generate private Ethereum network to test our smart contracts. Ganache is the new testrpc with a modern UI and some new fixes/features.

You can easily install Ganache with their Windows installer only if you have Windows 10. If you have Windows 8 you have to build Ganache from its source code.

First we need Node.js. Go to https://nodejs.org/ and install the latest version. If you have Node.js but don’t sure of its version, check it by this command.

node -v

And we need Git as a prerequisite. Go to https://gitforwindows.org

We need a command prompt which started as administrator to proceed. Just search powershell or cmd on Start screen and right click, select Run as Administrator.

Execute this command to install Windows Build Tools. It will take a couple minutes so be patient.

npm install --global --production windows-build-tools

It is time to clone the source code from github. Execute this command on command line tool.

git clone https://github.com/trufflesuite/ganache.git

After cloning execute cd ganache and install required libraries with npm install and that’s all. We are good to go. To start Ganache execute npm start wait a couple minutes and that sweet and delightful Ganache icon appears.

--

--

Erdoğan Bavaş
Erdoğan Bavaş

Written by Erdoğan Bavaş

Software Developer, Physics Grad.

Responses (10)