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
502 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,300 points
1,163 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
125 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
992 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 931 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,810 points
415 views
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,380 points
287 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,030 points
4,170 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,030 points
5,047 views