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
2,698 views

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: https://chocolatey.org/install

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
Hi,

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): 'https://chocolatey.org/api/v2/'
 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 https://chocolatey.org/docs/troubleshooting for more
 assistance.`

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,350 points
3,927 views
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
813 views
0 votes
1 answer

How to install Ethereum on Windows?

Download geth installer from https://geth.ethereum.org/downloads/ After download, run ...READ MORE

answered Feb 28, 2019 in Blockchain by Raj
2,966 views
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 2,472 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,790 points
1,697 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,235 views
+1 vote
1 answer

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

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,450 points
1,145 views
+2 votes
5 answers

How to install Ganache.appx on Windows 7

Go to https://github.com/trufflesuite/ganache/releases there are a set of ...READ MORE

answered Aug 17, 2018 in Blockchain by Omkar
• 69,210 points
13,958 views
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,210 points
21,570 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP