·
4 commits
to main
since this release
Installation
One-line install (Global)
curl -fsSL https://raw.githubusercontent.com/CellScript-Labs/CellScript/main/scripts/install.sh | shOne-line install (China mainland)
If raw.githubusercontent.com is unreachable, use a GitHub proxy:
curl -fsSL https://ghgo.xyz/https://raw.githubusercontent.com/CellScript-Labs/CellScript/main/scripts/install.sh | shOr force a specific mirror for binary downloads:
CELLSCRIPT_MIRROR=ghgo curl -fsSL https://ghgo.xyz/https://raw.githubusercontent.com/CellScript-Labs/CellScript/main/scripts/install.sh | shAvailable mirrors: ghgo (ghgo.xyz), ghproxy (gh-proxy.com), ghfast (ghfast.top)
Install specific version
CELLSCRIPT_VERSION=0.20.0-rc.1 curl -fsSL https://raw.githubusercontent.com/CellScript-Labs/CellScript/main/scripts/install.sh | shAlternative: cargo install
cargo install cellscriptManual download
| Platform | Archive |
|---|---|
| macOS (Apple Silicon) | cellscript-0.20.0-rc.1-aarch64-apple-darwin.tar.gz |
| macOS (Intel) | cellscript-0.20.0-rc.1-x86_64-apple-darwin.tar.gz |
| Linux (x86_64) | cellscript-0.20.0-rc.1-x86_64-unknown-linux-musl.tar.gz |
| Linux (ARM64) | cellscript-0.20.0-rc.1-aarch64-unknown-linux-musl.tar.gz |
Unpack and add to PATH:
tar xzf cellscript-*.tar.gz
mkdir -p ~/.cellscript/bin && mv cellc ~/.cellscript/bin/
export PATH="$HOME/.cellscript/bin:$PATH"Verify: cellc --version
Environment variables
| Variable | Default | Description |
|---|---|---|
CELLSCRIPT_HOME |
~/.cellscript |
Installation directory |
CELLSCRIPT_VERSION |
latest | Install a specific version |
CELLSCRIPT_MIRROR |
auto |
Mirror: auto, direct, ghgo, ghproxy, ghfast |
CELLSCRIPT_DRY_RUN |
0 |
Set to 1 to preview without installing |
Full Changelog: v0.16.2...v0.20.0-rc.1