Repository navigation
Releases: ProjectApario/igo
Release list
v1.1.0
Full Changelog: v1.0.3...v1.1.0
Installation Instructions
MacOS
Apple Silicon
mkdir ~/bin
# USING BASH
[ -f ~/.bashrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
# USING ZSH
[ -f ~/.zshrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.zshrc
curl -L https://github.com/ProjectApario/igo/releases/download/v1.1.0/igo-darwin-arm64 --output ~/bin/igo
cd ~/bin
xattr -d com.apple.quarantine igo
chmod +x igo
cd ~
which igo
igo -versionIntel
mkdir ~/bin
# USING BASH
[ -f ~/.bashrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
# USING ZSH
[ -f ~/.zshrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.zshrc
curl -L https://github.com/ProjectApario/igo/releases/download/v1.1.0/igo-darwin-amd64 --output ~/bin/igo
cd ~/bin
xattr -d com.apple.quarantine igo
chmod +x igo
cd ~
which igo
igo -versionLinux
mkdir ~/bin
# USING BASH
[ -f ~/.bashrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
# USING ZSH
[ -f ~/.zshrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.zshrc
curl -L https://github.com/ProjectApario/igo/releases/download/v1.1.0/igo-linux-amd64 --output ~/bin/igo
cd ~/bin
chmod +x igo
cd ~
which igo
igo -versionv1.0.3
What's Changed
- Refactored internal into package that can be used by other utilities by @andreimerlescu in andreimerlescu/igo#12
Installation Instructions
MacOS
Apple Silicon
mkdir ~/bin
# USING BASH
[ -f ~/.bashrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
# USING ZSH
[ -f ~/.zshrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.zshrc
curl -L https://github.com/andreimerlescu/igo/releases/download/v1.0.3/igo-darwin-arm64 ~/bin/igo
cd ~/bin
xattr -d com.apple.quarantine igo
chmod +x igo
cd ~
which igo
igo -versionIntel
mkdir ~/bin
# USING BASH
[ -f ~/.bashrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
# USING ZSH
[ -f ~/.zshrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.zshrc
curl -L https://github.com/andreimerlescu/igo/releases/download/v1.0.3/igo-darwin-amd64 ~/bin/igo
cd ~/bin
xattr -d com.apple.quarantine igo
chmod +x igo
cd ~
which igo
igo -versionLinux
mkdir ~/bin
# USING BASH
[ -f ~/.bashrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
# USING ZSH
[ -f ~/.zshrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.zshrc
curl -L https://github.com/andreimerlescu/igo/releases/download/v1.0.3/igo-linux-amd64 ~/bin/igo
cd ~/bin
chmod +x igo
cd ~
which igo
igo -versionFull Changelog: andreimerlescu/igo@v1.0.2...v1.0.3
v1.0.2
Installation Instructions
MacOS
Apple Silicon
NOTE: You cannot skip the xattr -d com.apple.quarantine igo step in the installation, otherwise, MacOS will block the binary from executing and you'll be blocked from using igo.
mkdir ~/bin
# USING BASH
[ -f ~/.bashrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
# USING ZSH
[ -f ~/.zshrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.zshrc
curl -L https://github.com/ProjectApario/igo/releases/download/v1.0.2/igo-darwin-arm64 ~/bin/igo
cd ~/bin
xattr -d com.apple.quarantine igo
chmod +x igo
cd ~
which igo
igo -versionIntel
mkdir ~/bin
# USING BASH
[ -f ~/.bashrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
# USING ZSH
[ -f ~/.zshrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.zshrc
curl -L https://github.com/ProjectApario/igo/releases/download/v1.0.2/igo-darwin-amd64 ~/bin/igo
cd ~/bin
xattr -d com.apple.quarantine igo
chmod +x igo
cd ~
which igo
igo -versionLinux
mkdir ~/bin
# USING BASH
[ -f ~/.bashrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
# USING ZSH
[ -f ~/.zshrc ] && echo 'export PATH=~/bin:$PATH' >> ~/.zshrc
curl -L https://github.com/ProjectApario/igo/releases/download/v1.0.2/igo-linux-amd64 ~/bin/igo
cd ~/bin
chmod +x igo
cd ~
which igo
igo -versionExample Usage
Assume that you're using GoLand from JetBrains and you're on MacOS, you can run the following and expect something along these lines:
# install igo above
igo -cmd install -gover 1.24.3
source ~/.profile
cd ~/GolandProjects/oldgo-project
go version
# 1.18.0
cd ~/GolandProjects/newgo-project
go version
# 1.24.0
igo -cmd list
igo -cmd env
igo -cmd fix -gover 1.18.0
igo -cmd install -gover 1.23.4 --debug
igo -cmd uninstall -gover 1.18.0 --verbose
1.18.0will get auto-installed into~/go/versions/1.18.0if it does not exist in order to satisfy the shim request.
igowill use thego.modand parse thego 1.18.0orgo 1.24.3line and use that.
~/go/rootisGOROOTwhich is a symlink to~/go/versions/$(cat ~/go/version)/go
~/go/pathisGOPATHwhich is a symlink to~/go/versions/$(cat ~/go/version)
~/go/binisGOBINwhich is a symlink to~/go/versions/$(cat ~/go/version)/go/bin
GOMODCACHEis set by the shim andigoto~/go/versions/$(cat ~/go/version)/go/pkg/mod
gois a Shim Bash 5.2 script designed for Linux & MacOS only at~/go/shims/go
gofmtis a Shim Bash 5.2 script designed for Linux & MacOS only at ~/go/shims/gofmt`
bin/gois a symlink to~/go/shims/gowhich evaluates and finds~/go/versions/$(cat ~/go/versions)/go/bin/go.$(cat ~/go/version)
Full Changelog: https://github.com/ProjectApario/igo/commits/v1.0.2