Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (11 sloc) 360 Bytes
#!/bin/bash
CARTON_DIR="$HOME/.carton"
if [[ -d $CARTON_DIR ]]; then
echo "Carton is already installed at '$CARTON_DIR'"
exit 1
else
git clone https://github.com/rejeep/carton.git $CARTON_DIR &> /dev/null
echo "Successfully installed Carton! Now, add the carton binary to your PATH."
echo ' export PATH="'${CARTON_DIR}'/bin:$PATH"'
exit 0
fi
Jump to Line
Something went wrong with that request. Please try again.