Install testrpc on Windows

0 votes
How can I install testrpc on Windows? I can use apt in windows.
Feb 28, 2019 in Blockchain by Rajat

1 answer to this question.

0 votes

You can not directly install testrpc on windows. But you can install it using Chocolatey.

Refer to this site to install Chocolatey:

After installing it, Open command prompt as administrator and run the following command to install pre-requisites.

$ choco install nodejs.install –y

$ choco install git –y

$ choco install VisualStudioCode -y 

To install testrpc, run the following command:

$ npm install -g npm

$ npm install -g -production windows-build-tools

$ npm install -g ethereumjs-testrpc

answered Feb 28, 2019 by Piyush

Could you please help me , I'm getting some common errors in pre-requisites :

 `-y not installed. The package was not found with the source(s) listed.
 Source(s): ''
 NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify `--pre`,
 the package may not be found.
Please see for more

also `Failures  - -y - -y not installed.`

Hi, @krishna,

Does that error occur when you were trying installing Chocolatey Package? Because this error will show only when the installation is failed. Could you please confirm that?

Related Questions In Blockchain

0 votes
1 answer

NPM cannot install “truffle” on Windows

Your install is failing at node-gyp rebuild. Solutions ...READ MORE

answered Sep 27, 2018 in Blockchain by slayer
• 29,310 points
0 votes
1 answer

Install testrpc on Linux

You can install testrpc using npm $ npm install ...READ MORE

answered Feb 28, 2019 in Blockchain by Chandu
0 votes
1 answer

How to install Ethereum on Windows?

Download geth installer from After download, run ...READ MORE

answered Feb 28, 2019 in Blockchain by Raj
0 votes
1 answer

How can I deploy a HelloWorld contract on my testrpc network?

The problem lies in the command: truffle migrate Your truffle migrate command ...READ MORE

answered Apr 27, 2018 in Blockchain by Perry
• 17,100 points

edited Aug 10, 2018 by Omkar 1,435 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,830 points
0 votes
1 answer
0 votes
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured by TLS encryption in hashgraph architecture-hashgraph, ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,440 points
+2 votes
5 answers

How to install Ganache.appx on Windows 7

Go to there are a set of ...READ MORE

answered Aug 17, 2018 in Blockchain by Omkar
• 69,170 points
0 votes
1 answer

How to fix "failed to execute script docker compose" error on windows 7?

It seems like the container is not ...READ MORE

answered Jun 27, 2018 in Blockchain by Omkar
• 69,170 points