All Projects → andrewkroh → gvm

andrewkroh / gvm

Licence: Apache-2.0 license
Go Version Manager (written in Go for cross-platform usability)

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to gvm

Scopelint
scopelint checks for unpinned variables in go programs
Stars: ✭ 110 (-5.98%)
Mutual labels:  golang-tools
gvm-tools
Remote control your Greenbone Community Edition or Greenbone Enterprise Appliance
Stars: ✭ 143 (+22.22%)
Mutual labels:  gvm
nestif
Detect deeply nested if statements in Go source code
Stars: ✭ 30 (-74.36%)
Mutual labels:  golang-tools
Goreportcard
A report card for your Go application
Stars: ✭ 1,608 (+1274.36%)
Mutual labels:  golang-tools
Dupl
a tool for code clone detection
Stars: ✭ 228 (+94.87%)
Mutual labels:  golang-tools
typogenerator
Golang string typosquatting generator
Stars: ✭ 67 (-42.74%)
Mutual labels:  golang-tools
Go Mygen
Quickly generate CURD and documentation for operating MYSQL.etc
Stars: ✭ 94 (-19.66%)
Mutual labels:  golang-tools
gocoverutil
No description or website provided.
Stars: ✭ 25 (-78.63%)
Mutual labels:  golang-tools
Sonar Golang
Sonarqube plugin for the golang language.
Stars: ✭ 229 (+95.73%)
Mutual labels:  golang-tools
gvm10-docker
Non Official - Greenbone Vulnerability Management version 10 Docker image
Stars: ✭ 30 (-74.36%)
Mutual labels:  gvm
Gomod
Go modules analysis tool
Stars: ✭ 139 (+18.8%)
Mutual labels:  golang-tools
Fpgo
Monad, Functional Programming features for Golang
Stars: ✭ 165 (+41.03%)
Mutual labels:  golang-tools
go-notebook
Go-Notebook is inspired by Jupyter Project (link) in order to document Golang code.
Stars: ✭ 33 (-71.79%)
Mutual labels:  golang-tools
Gocmt
Add missing comment on exported function, method, type, constant, variable in go file
Stars: ✭ 111 (-5.13%)
Mutual labels:  golang-tools
go-typeconv
Bring implicit type conversion into Go in a explicit way
Stars: ✭ 24 (-79.49%)
Mutual labels:  golang-tools
Vermin
The smart virtual machines manager. A modern CLI for Vagrant Boxes.
Stars: ✭ 110 (-5.98%)
Mutual labels:  golang-tools
gogh
GO GitHub project manager
Stars: ✭ 29 (-75.21%)
Mutual labels:  golang-tools
goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Stars: ✭ 3,019 (+2480.34%)
Mutual labels:  golang-tools
gobrew
Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash.
Stars: ✭ 171 (+46.15%)
Mutual labels:  golang-tools
universalmutator
Regexp based tool for mutating generic source code across numerous languages
Stars: ✭ 105 (-10.26%)
Mutual labels:  golang-tools

gvm

gvm is a Go version manager. gvm installs a Go version and prints the commands to configure your environment to use it. gvm can install Go binary versions from https://storage.googleapis.com/golang or build it from source. Below are examples for common shells.

bash:

eval "$(gvm 1.18.5)"

cmd.exe (for batch scripts %i should be substituted with %%i):

FOR /f "tokens=*" %i IN ('"gvm.exe" 1.18.5') DO %i

powershell:

gvm --format=powershell 1.18.5 | Invoke-Expression

gvm flags can be set via environment variables by setting GVM_<flag>. For example --http-timeout can be set via GVM_HTTP_TIMEOUT=10m.

Installation

You can download a binary release of gvm for your specific platform from the releases page. Then just put the binary in your PATH and mark it as executable (chmod +x gvm).

You must adjust the version and platform info in URLs accordingly.

Linux (amd64):

# Linux Example (assumes ~/bin is in PATH).
curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.0/gvm-linux-amd64
chmod +x ~/bin/gvm
eval "$(gvm 1.18.5)"
go version

macOS (universal):

# macOS Example
curl -sL -o /usr/local/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.0/gvm-darwin-all
chmod +x /usr/local/bin/gvm
eval "$(gvm 1.18.5)"
go version

Windows (PowerShell):

[Net.ServicePointManager]::SecurityProtocol = "tls12"
Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.5.0/gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe
gvm --format=powershell 1.18.5 | Invoke-Expression
go version

Fish Shell:

Use gvm with fish shell by executing gvm 1.18.5 | source in lieu of using eval.

For existing Go users:

go install github.com/andrewkroh/gvm/cmd/[email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].