> For the complete documentation index, see [llms.txt](https://documentation.script.tv/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.script.tv/for-users/blockchain-integration/installation-guide-for-script-node-setup-for-win-mac-and-linux.md).

# Installation guide for Script Node setup for Win , Mac and Linux

## **Step 1 - \[ Setup Go Environment ]**

&#x20;$ sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install build-essential

&#x20;$ wget <https://go.dev/dl/go1.17.4.linux-amd64.tar.gz&#x20>;

&#x20;$ rm -rf /usr/local/go && tar -C /usr/local -xzf go1.17.4.linux-amd64.tar.gz&#x20;

&#x20;$ echo 'export PATH=$PATH:/usr/local/go/bin' >> \~/.profile&#x20;

&#x20;$ echo 'export PATH=$PATH:/usr/local/go/bin' >> \~/.bashrc&#x20;

&#x20;$ echo 'export SCRIPT\_HOME=/usr/local/go/src/github.com/scripttoken/script' >> \~/.bashrc&#x20;

&#x20;$ echo 'export SCRIPT\_HOME=/usr/local/go/src/github.com/scripttoken/script' >> \~/.profile&#x20;

&#x20;$ source \~/.bashrc && source \~/.profile

## **Step 2 - \[ Setup Node ]**

$ mkdir -p /usr/local/go/src/github.com/scripttoken/ && cd /usr/local/go/src/github.com/scripttoken/ git clone <https://github.com/scriptnetwork/Node-Network-guide.git> script

{% hint style="info" %}
Note: Code is there on main branch so it can be clone directly without switching any branch using github&#x20;
{% endhint %}

$ cd $SCRIPT\_HOME


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://documentation.script.tv/for-users/blockchain-integration/installation-guide-for-script-node-setup-for-win-mac-and-linux.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.
