I am installing DFX. The installation was successful but when I ask the dfx --version it says permission denied. How to fix it?

1k views Asked by At

enter image description here

I was about to begin learning about blockchain, DApp and Internet Computer. I was installing the necessary things in my PC. When I began to install dfx, it was successfully installed, but when I asked for the version it said permission denied how to fix this issue?

1

There are 1 answers

0
Parth Yadav On

enter image description here

Thank you everyone. Happy to inform that the issue was resolved. I just typed:

sudo chmod +x /usr/local/bin/dfx