GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dikaeinstein/godl: Godl is a CLI tool used to download and install go binary releases on mac

BranchesTags
Open more actions menu

Latest commit

 

History

157 Commits
157 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
cmd/godl
cmd/godl
 
 
internal
internal
 
 
pkg
pkg
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.golangci.yml
.golangci.yml
 
 
.goreleaser.yml
.goreleaser.yml
 
 
.travis.yml.unused
.travis.yml.unused
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
contributing.md
contributing.md
 
 
get.sh
get.sh
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
makefile
makefile
 
 

Repository files navigation

godl

Godl is a CLI tool used to download and install go binary releases on mac. It supports both Intel and M1 macs.

Build Status Coverage Status

Download and Install

To download and install a specific version of godl, copy and paste the installation command:

curl -s https://raw.githubusercontent.com/dikaeinstein/godl/master/get.sh | sh -s -- v0.20.3

Install with Go

go install github.com/dikaeinstein/godl

Build From Source

Prerequisites for building from source are:

  • make
  • Go 1.18+
git clone https://github.com/dikaeinstein/godl
cd godl
make build

If you've have setup your $GOPATH or $GOBIN correctly, you should have godl command in your $PATH.

To check the $GOPATH and $GOBIN; run go env

Run godl version to verify.

Run godl help to get help and see available options

Subcommands

godl supports autocomplete for all subcommands

  • completion — Generates completion scripts for bash or zsh
  • download — Download go binary archive
  • help — Help about any command
  • install — Installs the specified go binary release version
  • list|ls — List the downloaded versions
  • list-remote|ls-remote — List available remote versions
  • update - Checks for updates.
  • version — Show the godl version information

Typical Usage (example)

To download and install go1.20:

 # To download only
godl download 1.26

 # To download and install if the given version is already downloaded.
sudo godl install 1.26

Then run

go version
output: go version go1.26 darwin/amd64 // or something similar

Contributing

Currently open to contributions, improvements and suggested features. Also follow the convention from the contribution.md

About

Godl is a CLI tool used to download and install go binary releases on mac

Topics

clicobragolang

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity

Stars

12 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.