Old CodeBlockLabs
VPS Recomendation
  • Home
  • 🌹Social Media
  • 🚰Testnet Faucet List
  • 🚰Mainnet Faucet List
  • 🔥Mainnet
    • Akash
    • Arcadia (Paw)
      • Installation
      • RPC Command
      • CLI
      • Fast Sync
    • Arkhadian
      • Installation
      • Update
      • Useful Commands
    • Banano
      • Installation
      • Node Configuration
      • RPC Command
      • CLI
      • Useful Command
    • DO Network
      • Install & Update
      • RPC Documentation
    • Kadena
      • Installation
      • Mining
    • Massa
      • Installation
    • Newrl
      • Installation
      • Useful Command
      • Update
    • Q Blockchain
      • Installation
      • Block stuck?
    • RaiblocksOne
      • Installation
      • Update
      • RPC Command
    • Raicoin
      • Installation
    • SGE
      • Installation
      • Update
      • Useful Commands
  • 💎Testnet
    • 0G Labs
      • Installation
      • Useful Commands
    • 5ire Chain
      • Installation
      • WASM Contract Deployment
    • Avail
      • Installation
    • BEVM
      • Installation
        • Docker
        • Binary
    • Blockx
      • Installation
      • Useful Commands
      • Incentivized Task
    • Elys
      • Installation
      • Useful Commands
    • Empeiria
      • Installation
      • Snapshot
      • Useful Commands
        • Wallet Management
        • Validator Management
        • Node Management
        • Governance
    • Impact Protocol
      • Installation
    • Erbie (wormholes)
      • Installation
      • RPC Documentation
      • Debug
    • Inery
      • Installation
      • Create Token
      • Value Contract
      • IneryCRUD
      • IneryPHP
      • Snapshots
    • Mantra
      • Installation
      • Useful commands
    • Naruno
      • Baklava Testnet
    • Nolus Protocol
      • Installation
      • Update
      • Snapshots
      • Relayer
      • Useful Commands
    • Noria
      • Installation
      • Update
      • State Sync
      • Useful Commands
    • Nibiru
      • Installation
      • Update
      • Useful Commands
    • Nulink
      • Installation
    • Ojo Network
      • Installation
      • Update
      • Useful Commands
    • PowerLoom
      • Pretest Task
    • The Power
      • Installation
    • Transformers Chain
      • Install & Update
      • RPC Documentation
  • âš¡VPS Provider
    • Contabo
      • Links To Provider
      • Promotion / Coupon
    • Vultr
      • Link To Provider
      • Promotion / Coupon
  • 😇solution
    • Docker
    • EVM Wallet by PrivateKey
    • Multiple Go
Powered by GitBook
On this page
  1. solution

Multiple Go

Using GVM you can install and use multiple Go on one machine.

gvm stands for "Go Version Manager." It is a command-line tool that allows you to manage multiple versions of the Go programming language on your system. Go is known for its simplicity, performance, and efficiency in building scalable and concurrent applications. However, sometimes you might need to work with different versions of Go due to compatibility requirements or to test your code with different language versions.

gvm simplifies the process of installing, switching between, and managing multiple Go versions on your system. It provides an easy way to:

  1. Install Different Versions: You can install various versions of Go side by side.

  2. Switch Between Versions: gvm lets you switch between installed Go versions on demand, making it easy to work with different projects that might require different language versions.

  3. Set Environment Variables: It automatically adjusts environment variables like GOROOT and PATH to ensure you're using the correct Go version.

  4. Install Packages: You can install and manage packages for each version of Go independently.

  5. Update Go: gvm can also help you update your installed Go versions.

Please note that while gvm is a convenient tool for managing multiple Go versions, there are other tools and methods available as well, such as manually installing Go versions or using other version managers. The specific choice depends on your preferences and needs.


GVM Installation

sudo apt-get update
sudo apt-get install curl git mercurial make binutils bison gcc build-essential bsdmainutils 
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)

Installing Go & Using Go with GVM

// You can check all Go version available on https://go.dev/dl/
// For example we will install Go version 1.19.12
gvm install go1.19.12

// Using the go1.19.12
gvm use go1.19.12

Please note that you can use and switch between all go installed easily, as you install more Go version in one server, it may need more spaces on your disk.

PreviousEVM Wallet by PrivateKey

Last updated 1 year ago

😇