#version-manager #devtool #path #golang #tool

bin+lib ffg

a golang version manager tool

3 releases

new 0.1.3 Dec 3, 2024
0.1.2 Dec 2, 2024
0.1.0 Dec 2, 2024

#4 in #devtool

Download history

65 downloads per month

MIT license

30KB
582 lines

ffg go mutil version manager

中文

install

cargo install ffg

set environment

  • FFG_HOME default value is ~/.ffg
  • FFG_MIRROR default value is go.dev, if work in china's mainland please set this value https://studygolang.com

usage

  • ffg ls list local version
  • ffg ls-remote pull release version
  • ffg use 1.15.6 install and used
  • ffg rm 1.15.6 remove
  • ffg ins 1.15.6 just install the specify version

setting go path

# set ffg home
export FFG_HOME=~/.ffg
# add goroot to path
export PATH=$PATH:$FFG_HOME/go/bin

Dependencies

~28–44MB
~707K SLoC