Solidity Installation Process

If you currently do not have Solidity installed on your machine, you would need to do so.

Mac OS

  1. Install HomeBrew by pasting the command in the terminal: /usr/bin/ruby -e “$(curl -fsSL"
    Note: if you already have HomeBrew installed, please make sure it is updated to the latest version by pasting the command in the terminal: brew update and skip to Step 6.

  2. After successful installation, you should be able to see below message in terminal,

  3. Open Mac App Store and search for XCode
    Note: If it’s already installed on your machine then update or skip this step.

  4. Click on Xcode search item from the list and click on Install

    Note: Review and agree to the terms of the license agreement upon installation.

  5. To install Xcode command line tools, run following command xcode-select — install

  6. In order to install Solidity compiler first you need to add Ethereum package to catalog use the following command brew tap ethereum/ethereum

  7. Finally, install Solidity compiler using the following command brew install solidity

  8. As soon as the installation completes, you are all set up


  1. Download the Windows binary file []( from the Official Ethereum Github Page.

  2. Extract the into a new folder

  3. Proceed through the installation with Windows Installer

  4. Once the installation is completed. Launch a command prompt and cd into the directory where solc.exe was extracted to

  5. Check the version of the Solidity compiler using solc --version command


  1. On Arch Linux, snap can be installed from the Arch User Repository (AUR) using the following command: git clone [](
  2. Once the installation is completed, cd into the directory where solc.exe was extracted to
  3. Once installed, the systemd unit that manages the main snap communication socket needs to be enabled use the following command: sudo systemctl enable --now snapd.socket
  4. To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap use the following command: sudo ln -s /var/lib/snapd/snap /snap
  5. To install Solidity compiler, simply use the following command: sudo snap install solc