🐍

第一步:准备 Python 环境

1

检查 Python 版本

H# 需要 Python 3.8 或更高版本。请确保已安装 Python 并配置了环境变量。

python --version
2

安装 H# 核心依赖

安装 H# 的 Python 运行时支持。

https://www.python.org/ftp/python/3.13.0/
💻

第二步:安装 H# 编译器

🪟

Windows

使用 PowerShell 包管理器一键安装最新稳定版。

Invoke-WebRequest -Uri "https://lash.org.cn/H.zip" -OutFile "H.zip"
🍎

macOS

推荐使用 curl 进行安装和管理。

curl -L -o H.zip https://lash.org.cn/H.zip
🐧

Linux

支持 Ubuntu, Debian, Fedora 等主流发行版。

wget -O H.zip https://lash.org.cn/H.zip
H#

手动下载

访问

https://lash.org.cn/hyzz.html