The -o option for curl is not available on all systems. I believe redirection would be more convenient. The second change was adding sudo to mv since /usr/local/bin/ is not writable by normal user. The last change is making it executable before moving it to avoid having to execute with sudo twice.
The
-o
option for curl is not available on all systems. I believe redirection would be more convenient. The second change was addingsudo
tomv
since/usr/local/bin/
is not writable by normal user. The last change is making it executable before moving it to avoid having to execute withsudo
twice.