Using solc command to compile a single sol file locally Solc has a second parameter that formerly was an integer, the number of contracts you intend it to compile Now the second parameter is a callback for processing imported files, good luck doing that on the command line
Solc --version: command not found - Ethereum Stack Exchange I'm trying to use solc with no success I download solc with npm install solc but when I run solc --version the console output is: command not found If I list packages npm list I'm able to see
solc - What is the proper way to build and call a specific version of . . . 3 completed the build process made sure solc was in my path solc --version solc, the solidity compiler commandline interface Version: 0 4 11-develop 2017 6 22+commit 68ef5810 Darwin appleclang So, that is the v0 4 11 release, but the version number has today's date in it Is that the source of the error? System is macOS Sierra 10 12 5
How to upgrade solidity compiler in truffle Check your solc compiler version using the following command - solc --version Then you can use following commands to uninstall solc (solidity) compiler and install it again It shall give you latest version (0 4 11) - npm uninstall solc -g npm install solc@0 4 11 Check the solc version after installing it again In order to see the information of contracts, once you login to truffle console