Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

elixir
jason
communitycreator

How to install Solidity in Mac

Chinweuba Elijah Azubuike

What is Solidity?

Solidity is a programming language that may be used to create smart contracts for a variety of blockchain systems, the most popular of which is Ethereum. It is an object-oriented programming language that performs smart contracts, using the Ethereum Virtual Machine (EVM).

Installing Solidity on Mac

The procedures to install Solidity in MacOS are listed below:

1. Using the npm command in the terminal to install

Step 1: We will make sure that we have npm installed on our computer. If we don’t have it installed, we will run the following command before continuing.

brew install node

Step 2: We will run the command given below to install Solidity.

npm install -g solc

2. Installing through the brew command in the terminal

Step 1: We will make sure that we have npm installed on our computer. If not, then we will follow step 1 of method 1 to install it.

Step 2: We will tap into Ethereum with the following command before installing Solidity (required).

brew tap ethereum/ethereum

Step 3: After copying the Ethereum objects, using the previous command, we will install Solidity with the following command.

brew install solidity 

RELATED TAGS

elixir
jason
communitycreator

CONTRIBUTOR

Chinweuba Elijah Azubuike
RELATED COURSES

View all Courses

Keep Exploring