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 best solutions below
0
On
Just run the script in terminal sudo curl https://get.starport.network/starport! | sudo bash command download binary and move to /usr/local/bin/
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.