I'm trying to set up the tools needed to develop a decentralised application.
I would need to input truffle init
to my terminal as part of the process. I've tried multiple times to solve the "command not found" message I keep getting when I input truffle init
, but I have not found a solution. I'm not sure if there are any other ways I could bypass this issue. It seems as though a lot of the developer tools I've tried to install for blockchain development have been difficult to install or integrate with my Mac.
Thank you for any assistance provided.
答案 0 :(得分:0)
您是否尝试过在全球范围内安装松露?
sudo npm install -g truffle@latest
请使用确认已正确安装松露
truffle -version