Shell Usage

  • Clear the shell’s cache of resolved binaries

    hash -r

    This is particularly useful after installing go binaries that override locally installed binaries (such as the version of hugo used to build this site)

  • Install a specific version of a go binary

    go install repo/path@version

    e.g. go install github.com/gohugoio/hugo@v0.145.0