• Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 11 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

You know, rbenv but for go.

goenv

rbenv, but for Go.

Installation

To install the latest stable release:

git clone -b v0.0.5 https://github.com/wfarr/goenv.git ~/.goenv

Then add the following to your shell config at the end:

export PATH="$HOME/.goenv/bin:$PATH"
eval "$(goenv init -)"

Usage

Β» goenv help
Usage: goenv <command> [<args>]

Some useful goenv commands are:
   exec        Execute a command from a particular Go version.
   shell       Set GOENV_VERSION for the lifetime of a shell.
   local       Persist the preferred Go version in the cwd.
   global      Persist the preferred Go default version.
   install     Install a version of Go.
   uninstall   Uninstall a version of Go.
   version     Show the current Go version.
   versions    Display all versions of Go installed in `${GOENV_ROOT}/versions/*'.
   rehash      Rehash goenv shims (run this after installing executables)

See `goenv help <command>' for information on a specific command.

Credits

This library was heavily, heavily, heavily inspired by @sstephenson's rbenv and ruby-build projects. A few ideas were also taken from nvm.

A number of patterns and utilities are borrowed from that project, and it is my hope that goenv provides the same simplicity, elegance, and usability that I've come to love in rbenv and ruby-build for Go users.

More Repositories

1

dotjs.safariextension

Safari extension for defunkt's dotjs
JavaScript
73
star
2

nodenv

NodeJS version management. You know, for nodes.
Shell
47
star
3

henson

Dependency management for Puppet
Ruby
26
star
4

nagioseasier-module

Make nagios easier to use, because you deserve it.
C
22
star
5

stretch

You know, for elasticsearch
Ruby
20
star
6

vagabond

(work in progress) rspec integration testing for vagrant vms
Ruby
17
star
7

nagioseasier-cli

The CLI to make nagios just a bit easier.
Go
16
star
8

chgo

Change your go versions with ease.
Shell
16
star
9

github-training-boxen

A first pass at a boxen for GitHub training courses
Ruby
10
star
10

puppet-osx_defaults

Simple Puppet provider for OSX `defaults`
Ruby
9
star
11

color-theme-tango-2

A Tango-based color theme for emacs
Emacs Lisp
7
star
12

rcirc-notify-el

Yeah, yeah yeah. Whoo rcirc or whatever.
Emacs Lisp
7
star
13

newskit

A feed reader for the GNOME desktop
C#
6
star
14

logopathy

C#
5
star
15

es

The easy-to-use CLI tool for elasticsearch
Go
5
star
16

dotfiles

Shell
4
star
17

calc3-for-cs

project
Ruby
3
star
18

gumflap-backbone-demo

JavaScript
3
star
19

log-me

You know, for logs.
Go
3
star
20

mash

Automated install and setup of chef-server all-in-one cap task
Ruby
3
star
21

add-import-el

ABANDON-WARE
Emacs Lisp
3
star
22

simple_delegator

The simplest, ugliest delegator pattern.
Ruby
3
star
23

dubhaus

Internet of Shit, brought to you by @wfarr
Shell
2
star
24

telepathy-glib-sharp

C# bindings for telepathy-glib
Shell
2
star
25

telepathy-mission-control-sharp

Mono C# bindings for libmissioncontrol
Shell
2
star
26

yql-el

Interface for Yahoo's YQL in Emacs Lisp
Emacs Lisp
2
star
27

.emacs.d.old

Emacs Lisp
2
star
28

k8s-utils

Go
2
star
29

pkgsrc

C
2
star
30

nih-db

Do not fork this repo. That's not good NIH practice.
2
star
31

ScoutAlerts.safariextension

A Safari extension for displaying Scout alerts
2
star
32

tweet_scale

toy app to demo ruby-riak-client
Ruby
2
star
33

peek-elasticsearch

Ruby
2
star
34

organic-propane

My Campfire Propane style
JavaScript
2
star
35

lulscale

A toy erlang app for lultastic image uploads. It's also probably pretty bad.
Erlang
1
star
36

peek-active_record

Ruby
1
star
37

umpire

i herd u liek counting
Ruby
1
star
38

cs2200-base

Base Vagrant + ChefSolo configuration for CS2200 at GT
Ruby
1
star
39

k8s-event-logger

Go
1
star
40

xtt.app

Ruby
1
star
41

encounter-fyi

JavaScript
1
star
42

cs2803-ajax-demo

Simple demo of dynamic select lists with Prototype for CS2803
Ruby
1
star
43

vagrant-shadow-puppet-test

Ruby
1
star
44

k8s-tpr-playground

Go
1
star