When I am trying to run hello world smart contract using a command

eosio-cpp -abigen -o hello.wasm hello.cpp

shown an error eosio-cpp: command not found?


1 Answer 1


Have you done a proper installation of the CDT like in this link https://developers.eos.io/eosio-home/docs/installing-the-contract-development-toolkit ?

Maybe you dont have put the read write permission, try

sudo chmod 755 /usr/opt/eosio.cdt/1.6.1/bin

or if you use a previous version:

sudo chmod 755 /usr/local/eosio.cdt/bin/eosio-cpp 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.