Forrest logo
back to context overview

go-env

List of commands for go-env:

  • go-env:tldr:27177 go-env: Show all environment variables.
    $ go env
    try on your machine
    explain this command
  • go-env:tldr:42213 go-env: Reset an environment variable's value.
    $ go env -u ${GOBIN}
    try on your machine
    explain this command
  • go-env:tldr:5d848 go-env: Set an environment variable to a value.
    $ go env -w ${GOBIN}=${path-to-directory}
    try on your machine
    explain this command
  • go-env:tldr:a88e1 go-env: Show a specific environment variable.
    $ go env ${GOPATH}
    try on your machine
    explain this command
back to context overview