Download下载

Free · local-first · 0.4.24 preview免费 · 本地优先 · 0.4.24 预览版

Install CrazeCode安装疯码

One command on macOS and Linux, one PowerShell line on Windows through WSL2. Or download the installer, read it, and run it yourself.macOS 和 Linux 一条命令,Windows 在 PowerShell 里一行命令装进 WSL2。也可以先把安装脚本下载下来,看过再自己运行。

One command一条命令安装

macOS / Linux

curl -fsSL https://crazecode.com/install | sh
# read-only check, then open Home# 只读自检,然后打开 Home
$ craze doctor
$ craze

Windows (WSL2)

irm https://crazecode.com/install.ps1 | iex
# then, in PowerShell or any terminal# 然后在 PowerShell 或任意终端里
PS> craze doctor
PS> craze

Needs 64-bit Windows 10 or 11 with WSL2 and a Linux distribution (wsl --install). The script installs missing prerequisites such as tmux inside WSL2 with sudo, runs the same verified Linux installer there, and adds craze and crz launchers to your user PATH.需要 64 位 Windows 10 或 11,并已装好 WSL2 和一个 Linux 发行版(wsl --install)。脚本会在 WSL2 里用 sudo 装上缺少的依赖(比如 tmux),在那里运行同一个经过校验的 Linux 安装器,并把 crazecrz 启动器加进你的用户 PATH。

Inspect first, then run先检查,再运行

Download the exact installer this server uses, read it, then run it with the release it pins. It verifies the archive digest and rejects unsafe archive paths before installing.下载这台服务器使用的同一个安装脚本,读完之后,用它钉住的版本运行。安装前它会校验发布包摘要,并拒绝不安全的包内路径。

macOS / Linux
$ curl -fsSLo crazecode-install.sh https://crazecode.com/auth/assets/ff349e3970b4/install.sh
$ less crazecode-install.sh
$ sh crazecode-install.sh 0.4.24 https://crazecode.com/install/download

Windows · PowerShell
PS> irm https://crazecode.com/install.ps1 -OutFile crazecode-install.ps1
PS> notepad .\crazecode-install.ps1
PS> .\crazecode-install.ps1

Pinned archives固定版本的发布包

The installer downloads one of these and checks it against its SHA-256 manifest. For a manual install, keep the archive and its .sha256 file in one directory and check it yourself.安装器会下载其中一个,并用对应的 SHA-256 清单校验。手动安装时,把发布包和它的 .sha256 文件放在同一个目录,自己核对一遍。

Platform平台Archive发布包Checksum校验清单
macOS · Apple silicon (arm64)macOS · Apple 芯片(arm64)crazecode-0.4.24-aarch64-apple-darwin.tar.gz.sha256
Linux / WSL2 · x86_64Linux / WSL2 · x86_64crazecode-0.4.24-x86_64-unknown-linux-gnu.tar.gz.sha256
# macOS: check the download# macOS:核对下载
$ shasum -a 256 -c crazecode-0.4.24-aarch64-apple-darwin.sha256
# Linux / WSL2: check the download# Linux / WSL2:核对下载
$ sha256sum -c crazecode-0.4.24-x86_64-unknown-linux-gnu.sha256