mv: cannot move './starport' to '/usr/local/bin/starport': Permission denied
Install startport mv: cannot move './starport' to '/usr/local/bin/starport': Permission denied
1.6k views Asked by Alain Sst At
3
There are 3 answers
0
On
Checkout Write permission Section from Install Support Docs
https://docs.starport.network/guide/install.html
curl https://get.starport.network/starport | bash -> For write access
sudo mv starport /usr/local/bin/ -> To move it into sub-root folders

I know this comes late but it can help some other people.
Starport installation requires write permission to the /usr/local/bin/ directory. If you get such error, do this
run
then run
to move to the local bin directory with sudo.