goenv

(★ 16)

TUI for viewing and editing Go environment variables

File Explorer

  • .gitattributes
  • .gitignore
  • .goreleaser.yaml
  • go.mod
  • go.sum
  • LICENSE
  • mise.toml
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

brew install

View Details ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

fish

View Details ▼

The Friendly Interactive SHell, a command-line interpreter designed to be user friendly.

fish

Start an interactive shell session:

fish {{[-N|--no-config]}}

Start an interactive shell session without loading startup configs:

fish {{[-c|--command]}} "{{echo 'fish is executed'}}"

Execute specific commands:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

go env

View Details ▼

Manage environment variables used by the Go toolchain.

go env

Show all environment variables:

go env {{GOPATH}}

Show a specific environment variable:

go env -w {{GOBIN}}={{path/to/directory}}

Set an environment variable to a value:

🔍

go install

View Details ▼

Compile and install packages named by the import paths.

go install

Compile and install the current package:

go install {{path/to/package}}

Compile and install a specific local package:

go install {{golang.org/x/tools/gopls}}@{{latest}}

Install the latest version of a program, ignoring `go.mod` in the current directory:

🔍

goenv

View Details ▼

Install, uninstall, or switch between Golang versions.
Supports version numbers like "1.16.15" or "1.22.8" etc.

goenv commands

List all available goenv commands:

goenv install {{go_version}}

Install a specific version of Golang:

goenv local {{go_version}}

Use a specific version of Golang in the current project:

🔍

mise

View Details ▼

Manage language runtimes like Node.js, Python, Ruby, Go, Java, etc and various tools.

mise plugins list-all

List all available plugins:

mise plugins add {{name}}

Install a plugin:

mise ls-remote {{name}}

List runtime versions available for install:

🔍

powershell

View Details ▼

This command may be mistaken as the cross-platform version of PowerShell (formerly known as PowerShell Core), which uses `pwsh` instead of `powershell`.
The original `powershell` command in Windows is still available to use the legacy Windows version of PowerShell (version 5.1 and below).

tldr pwsh

View the documentation for the command referring to the latest, cross-platform version of PowerShell (version 6 and above):

powershell

Start an interactive shell session:

tldr powershell {{[-p|--platform]}} windows

View the documentation for the command referring to the legacy Windows PowerShell (version 5.1 and below):

🔍

light

View Details ▼

Control the backlight of your screen.

light

Get the current backlight value in percent:

light -S {{50}}

Set the backlight value to 50 percent:

light -U {{20}}

Reduce 20 percent from the current backlight value:

# Project Badges

// repository documentation