# 开始使用ZGG

## 安装

### 在bash环境下：

执行以下命令即可安装或更新更新ZGG:

```
curl -k https://www.zgg-lang.org/install/install.sh | bash
```

### 在浏览器体验ZGG

我们在[官网](https://www.zgg-lang.org/)上部署了ZGG Playground，欢迎移步到[官网](https://www.zgg-lang.org/)体验

官网地址是：<https://www.zgg-lang.org/>

### 下载ZGG

| 操作系统    | 下载链接                                                                                                                                                  |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Linux   | [AMD64](https://zgglang-cn.oss-cn-guangzhou.aliyuncs.com/zgg-linux-amd64) [ARM64](https://zgglang-cn.oss-cn-guangzhou.aliyuncs.com/zgg-linux-arm64)   |
| MacOS   | [AMD64](https://zgglang-cn.oss-cn-guangzhou.aliyuncs.com/zgg-darwin-amd64) [ARM64](https://zgglang-cn.oss-cn-guangzhou.aliyuncs.com/zgg-darwin-arm64) |
| Windows | [AMD64](https://zgglang-cn.oss-cn-guangzhou.aliyuncs.com/zgg-windows-amd64.exe)                                                                       |

## 运行ZGG

### 进入repl环境

在命令行输入zgg，按回车

### 运行写好的zgg脚本

在命令行输入:

```
zgg <path-to-zgg-scripts>
```


---

# 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://guanming.gitbook.io/zgg-doc/yu-yan-te-xing/getstarted.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.
