info_tfgrid/collections/developers/go/grid3_go_installation.md

914 B

Go Client Installation

Table of Contents


Introduction

We present the general steps to install the ThreeFold Grid3 Go Client.

Requirements

Make sure that you have at least Go 1.19 installed on your machine.

  • Go >= 1.19

Steps

  • Create a new directory
    • mkdir tf_go_client
      
  • Change directory
    • cd tf_go_client
      
  • Creates a go.mod file to track the code's dependencies
    • go mod init main
      
  • Install the Grid3 Go Client
    • go get github.com/threefoldtech/tfgrid-sdk-go/grid-client
      

This will make Grid3 Go Client packages available to you.

References

For more information, you can read the official Go documentation.