Failed to install parse.com command line tool on Mac OSX 10.10 Yosemite

Running command

curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash
      

Run codeHide result


does not install tool

I was able to easily install it on another computer running 10.9.2

+3


source to share


1 answer


STEP: 1 Make a copy of this

#!/bin/bash

TMP_FILE=/tmp/parse.tmp
if [ -e /tmp/parse.tmp ]; then
echo "Cleaning up from previous install failure"
rm -f /tmp/parse.tmp
fi
echo "Fetching latest version ..."
curl --progress-bar https://www.parse.com/downloads/cloud_code/parse -o /tmp/parse.tmp
if [ ! -d /usr/local/bin ]; then
echo "Making /usr/local/bin"
mkdir -p /usr/local/bin
fi
echo "Installing ..."
mv /tmp/parse.tmp /usr/local/bin/parse
chmod 755 /usr/local/bin/parse `

      



to a file called install.sh and run it in your terminal as bash install.sh

. This will install your parsing in your terminal.

STEP: 2 Download Gist from this and run a file called install.sh in your Terminal, preceded by bash

0


source







All Articles