> ## Documentation Index
> Fetch the complete documentation index at: https://hyperlocalise.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 安装

> hyperlocalise 的安装步骤，包括验证和升级。

## 先决条件

* macOS 或 Linux
* 安装脚本、预构建二进制文件、`.deb`/`.rpm` 包或 Go 工具链之一

## 使用启动脚本安装

使用稳定的 bootstrap URL：

```bash theme={null}
curl -fsSL https://hyperlocalise.com/install | bash
```

固定特定版本：

```bash theme={null}
curl -fsSL https://hyperlocalise.com/install | VERSION=v1.2.3 bash
```

当你在浏览器中打开`https://hyperlocalise.com/install`时，它会重定向到此页面。像`curl`这样的终端客户端则会接收安装脚本流程。

安装脚本也附在每个 GitHub 版本发布中，因此你可以直接从发布资源中查看或下载带标签的版本。

## 从源码安装（Go）

```bash theme={null}
go install github.com/hyperlocalise/hyperlocalise@latest
```

## 从仓库构建

```bash theme={null}
make bootstrap
make install
```

## 验证安装

```bash theme={null}
hyperlocalise version
hyperlocalise --help
```

预期输出包括诸如 `init`、`crowdin`、`run`、`check`、`eval`、`status`、`sync pull`、`sync push`、`version` 和 `update` 之类的命令。

## 安装 Hyperlocalise 技能 (skills.sh)

安装：

```bash theme={null}
npx skills add https://github.com/hyperlocalise/hyperlocalise --skill hyperlocalise
```

这使用 [skills.sh](https://skills.sh) 安装程序，通过 `npx`。

## 升级

使用内置的自更新命令：

```bash theme={null}
hyperlocalise update
```

固定特定版本：

```bash theme={null}
hyperlocalise update v1.2.3
```

如果你愿意，仍然可以重新运行你原来的安装方法。
