Skip to main content
Submitted by manoj on 8 June 2023

How to Install Solidity in Windows using with npm

Like other programming languages, we also need a compiler to work with Solidity, so let Install Solidity compile as follows.

To install solidity open your command prompt

1. Install NVM:   
curl | bash    
nvm --version

2. Install NodeJS   
nvm install node   
node --version   
npm --version

3. Install solidity compiler solc:   
npm install -g solc   
solcjs --version

Step 3:Congrats