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 |