LoginSignup
4
2

More than 5 years have passed since last update.

fishにgoenvをセットアップ

Last updated at Posted at 2016-12-31

手順

goenvのインストール

git clone https://github.com/wfarr/goenv.git ~/.goenv
vim ~/.config/fish/config.fish

config.fishに以下を追記

~/.config/fish/config.fish
#GOENV
set -x PATH $HOME/.goenv/bin $PATH
goenv rehash >/dev/null ^&1

config再読込

source ~/.config/fish/config.fish

goのインストール

goenv install 1.7.4
goenv global 1.7.4
goenv rehash

というか

デファクトどれやねん…

スクリーンショット 2016-12-31 11.48.27.png

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2