Simple go version updater
This is a simple cli application aimed for people now starting with golang, or those who need an update on the latest stable version at all times!
- lightweight go binary 🤸♀️
- no git installation required ⚙️
Use freshgo to easily install and manage your golang versions. Add freshgo in a cron or your .profile to remind you when a new go version is available!
freshgo can install the latest go version, or any given version of go.
Download the latest binary and get started with Go in no time!
wget https://github.com/nikfot/freshgo/blob/gh-pages/freshgo?raw=true -O freshgo && chmod ug+x freshgo && sudo mv freshgo /usr/local/bin/freshgo
This will download the latest binary and install it in your $PATH
You are welcome to contribute any time! Inform me on an issue or make suggestions or add your own repo.
Clone the repo.
git clone [email protected]:nikfot/freshgo.git
or
git clone git clone https://github.com/nikfot/freshgo
If you already have go installed build the binary:
cd freshgo && make
Freshgo is an easy way to avoid manual actions for installing go and keeping it up to date. You do not need git or any other tool to make this work.
freshgo latest
freshgo list
freshgo select -v 1.17.7
Freshgo can run everytime your shell opens and check if there is a latest version than the one installed. If there is, it can ask you wether you'd like to update to the latest.
echo "${PATH to freshgo repo}/check_ver.sh >> ~/.profile