> For the complete documentation index, see [llms.txt](https://guanming.gitbook.io/zgg-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guanming.gitbook.io/zgg-doc/yu-yan-te-xing/getstarted.md).

# 开始使用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>
```
