brew install zgulde/zgulde/cods
Updating
brew upgrade cods
cods update
You'll need to install this manually, luckily, that's not too difficult
-
Dependencies
This tool assumes you have a system
python(eitherpythonorpython3, either will work), and a systemperl. Most popular linux distros come with both of these already. -
Clone this repo
git clone <this-project> ~/opt/cods -
Put the init script on your PATH
ln -s ~/opt/cods/bin/cods.sh /usr/local/bin/cods # or wherever you prefer
By default this tool will install commands in to /usr/local/bin, but if you
would rather them be somewhere else, you can configure this:
cods # The first time it is run it created the configuration file
vim ~/.config/cods/config.sh
and change BIN_PREFIX to whatever you would prefer
Updating
cd ~/opt/cods # or wherever you cloned this
git fetch origin
# get the latest
git reset --hard origin/master
# or a specific version
git checkout v0.2.3
cods update