To download and run this script in a single command, cut and paste this in Terminal:
curl https://gist.githubusercontent.com/JoshuaGrams/845eb0e0cd8e8fb42668028792b37ce7/raw/f7de596a50eff8734483c560560ef441a9f26c33/tweego.sh | bash
To download and run this script in a single command, cut and paste this in Terminal:
curl https://gist.githubusercontent.com/JoshuaGrams/845eb0e0cd8e8fb42668028792b37ce7/raw/f7de596a50eff8734483c560560ef441a9f26c33/tweego.sh | bash
# Switch to a temporary directory, then download and extract Tweego. | |
TMP=$(mktemp -d) | |
cd $TMP | |
curl -O https://github.com/tmedwards/tweego/releases/download/v2.1.1/tweego-2.1.1-macos-x64.zip | |
unzip -o tweego-2.1.1-macos-x64.zip | |
# Make sure tweego is executable. | |
chmod +x tweego | |
# Create the target directory and copy the files. | |
TARGET=$HOME/tweego | |
mkdir -p $TARGET | |
cp -R . $TARGET | |
# Update .bash_profile to add our directory to the PATH. | |
echo "export PATH=$TARGET:\$PATH" >> ~/.bash_profile | |
# And run .bash_profile to update the current PATH. | |
source ~/.bash_profile |
Hmm. I just checked and the tweego release is still there and the file unzips OK for me...I wonder if it failed to download properly? Were there any earlier errors?
Help! It's not working; it says this: