# stefanmaric/g

Simple go version manager, gluten-free

Repository: https://github.com/stefanmaric/g
Canonical: https://ross.abutalabs.com/products/stefanmaric-g
Language: Shell
License: MIT
License Family: permissive
Topics: golang, go, version-manager, cli, dependency-manager, installer, environment, macos, linux, bash, fish, zsh, portable, gluten-free
Last push: 2026-05-26T22:10:08+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 84, release rhythm 86, longevity 100
- inputs: {"age_days": 3069, "days_push": 99, "days_rel": 99, "gap_med": 0, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1079, forks 54 (observed 2026-08-28T04:03:30.383947+00:00)

## What it is
g is a simple, portable Go version manager implemented as a single POSIX shell script. It installs official prebuilt Go archives without shims, sudo, or a plugin ecosystem, inspired by tj/n.

## Use cases
- install and switch between multiple Go versions
- manage go toolchain versions without shims
- try a specific Go version without changing the active one
- set up Go on macOS or Linux without sudo
- discover and install Go beta and RC releases
- script Go version installation in CI

## When to choose
- you want a lightweight, single-script Go version manager
- you use multiple shells (bash, zsh, fish) and want no shim pollution
- you prefer official prebuilt Go binaries over building from source
- you need unprivileged installation without sudo

## When to avoid
- you need Windows support outside WSL
- you want project-level automatic version switching via config files
- you need a version manager for multiple languages, not just Go

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, developer-tools, package-manager, configuration-management
- domain: developer-tools, programming-languages
- platform: cli, cross-platform
- tags: go-version-manager, shell-script, posix, no-shims, portable, version-switching, command-line, macos, linux

## Member repositories
- stefanmaric/g (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:30.383947+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:06.564287+00:00, confidence not recorded.
  - readme: https://github.com/stefanmaric/g (fetched 2026-08-28T04:03:30.383947+00:00, sha b68bb95c3f4e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
