hyperledger-web3j / web3j-cli

Command-line interface for web3j
https://github.com/web3j/web3j-cli
Other
58 stars 30 forks source link

Unable to install web3j cli on Mac #94

Closed elielnfinic closed 1 year ago

elielnfinic commented 1 year ago

Hi everybody,

I got the following error when trying to install web3j cli on Mac :

curl -L get.web3j.io | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  6008  100  6008    0     0   4674      0  0:00:01  0:00:01 --:--:--     0
sh: line 2: jq: command not found
elielnfinic commented 1 year ago

I founded out that this was due to the fact that jq was missing. I suggest that you add to get.web3j.io a check so that it installs jq if it can't be found on the computer. I fixed the issue by installing jq on Mac using brew install jq.

Best regards.