Install startport mv: cannot move './starport' to '/usr/local/bin/starport': Permission denied

1.6k views Asked by At

enter image description here

mv: cannot move './starport' to '/usr/local/bin/starport': Permission denied

3

There are 3 answers

0
Adesina Azeez On

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

curl https://get.starport.network/starport | bash

then run

sudo mv starport /usr/local/bin/

to move to the local bin directory with sudo.

0
binston 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
Hem Shah 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