Error: /dev/fd/63: line 1: Moved: command not found
You are getting that error because the URL you have referenced - https://particle.io/install-cli - has moved. 

The new URL is https://raw.githubusercontent.com/spark/particle-cli-wrapper/master/installer/unix/install-cli