# Get Started

### Prerequisites

#### Go Binaries

Installation instructions for Go can be found[ here](https://go.dev/doc/install).

### Installation

1. Clone the gosdk repo

```
git clone https://github.com/0chain/gosdk.git
```

2. Save below code as `sdkversion.go` in the `gosdk` directory.

```
   package main

  import (
      "fmt"

      "github.com/0chain/gosdk/zcncore"
  )

  func main() {
      fmt.Println("gosdk version: ", zcncore.GetVersion())
  }
```

3. Run the below command to download the gosdk package: (if you don't have gosdk already in your GOPATH)

```
  go get github.com/0chain/gosdk
```

4. Build the sample application sdkversion using the command below

```
  go build -o sdkversion sdkversion.go
```

5. Run the executable

```
  ./sdkversion
```

6. If it prints the gosdk version installed then you have successfully installed 0chain gosdk.

&#x20;   Sample Response:

```
   gosdk version:  v1.8.9-57-g7fbdcff
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-old.zus.network/guides/zus-gosdk/get-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
