GitHub gave us shortcuts to access latest release of a repository
- access the latest release
https://github.com/<USERNAME>/<REPOSITORY>/releases/latest
- download attached files to a release
https://github.com/<USERNAME>/<REPOSITORY>/releases/latest/download/<FILE>
wget https://github.com/abenevaut/laravel-one/releases/latest/download/laravel-one
chmod +x laravel-one
Remember your are able to specify package name with operating system specification based on uname
.
wget https://github.com/<USERNAME>/<REPOSITORY>/releases/latest/download/<BASE_FILE_NAME>-$(uname -s)-$(uname -m).tar.gz