https://github.com/rgomids/govsm
govsm is a bash script that simplifies installing go versions, letting you list available versions, download, and set up a specific version.
https://github.com/rgomids/govsm
go nvm version-control version-management
Last synced: about 1 month ago
JSON representation
govsm is a bash script that simplifies installing go versions, letting you list available versions, download, and set up a specific version.
- Host: GitHub
- URL: https://github.com/rgomids/govsm
- Owner: rgomids
- License: mit
- Created: 2025-07-05T14:32:03.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-07T13:19:00.000Z (12 months ago)
- Last Synced: 2025-07-13T12:36:53.136Z (11 months ago)
- Topics: go, nvm, version-control, version-management
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# govsm
Go version manager.
The `govsm` script automatically detects your operating system (Linux or macOS)
and CPU architecture when downloading Go releases.
## Installation
With `make` installed, run:
```bash
make install
```
The `govsm` script will be copied to `/usr/local/bin`. To install elsewhere, use the `PREFIX` variable:
```bash
make install PREFIX=$HOME/.local/bin
```
## Usage
List available versions:
```bash
govsm list
```
Install a specific Go version:
```bash
govsm install 1.22.0
```
Run `govsm` without arguments to see the full help.
## Requirements
- `curl` and `wget` installed
- Permission to write to the installation directory
- Works on Linux and macOS (architecture detected automatically)