From 1713de8423b68cc8649822c0b89eb9a8ef14d21e Mon Sep 17 00:00:00 2001 From: Shunichiro Nomura Date: Sat, 10 Oct 2026 01:11:04 +0900 Subject: [PATCH 1/5] Document prebuilt binaries and setup-graphcal Make the dist installers the primary installation path, mention cargo-binstall, and keep crates.io (now the only path that needs Rust) and source builds as alternatives. Add a GitHub Actions example using graphcal-lang/setup-graphcal@v1. The README quickstart no longer requires Rust. --- README.md | 5 ++-- docs/en/installation.md | 59 ++++++++++++++++++++++++++++++++++++++--- docs/ja/installation.md | 59 ++++++++++++++++++++++++++++++++++++++--- 3 files changed, 114 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 83a53da4f..7b21fda1a 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,10 @@ For engineers who want more confidence than spreadsheets and ad-hoc scripts prov ## Quickstart -Install the CLI with [Rust](https://rustup.rs/): +Install the prebuilt CLI on macOS or Linux (see the [installation guide](https://graphcal.org/docs/en/installation/) for Windows, crates.io, and GitHub Actions): ```sh -# The version flag is needed while Graphcal is a pre-release. -cargo install graphcal --version '^0.0.1-alpha' --locked +curl --proto '=https' --tlsv1.2 -LsSf https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.sh | sh ``` Save [`rocket.gcl`](tests/fixtures/valid/rocket.gcl), the file shown above, then run: diff --git a/docs/en/installation.md b/docs/en/installation.md index cb1235825..428a93d3d 100644 --- a/docs/en/installation.md +++ b/docs/en/installation.md @@ -4,14 +4,38 @@ icon: material/download # Installation -## Requirements +## Install a prebuilt binary -- Rust stable toolchain (1.95 or later) +Prebuilt binaries are published on [GitHub Releases](https://github.com/graphcal-lang/graphcal/releases) and need no Rust toolchain. -If you don't have Rust installed, get it from [rustup.rs](https://rustup.rs/). +On macOS and Linux: + +```bash +curl --proto '=https' --tlsv1.2 -LsSf https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.sh | sh +``` + +On Windows (PowerShell): + +```powershell +powershell -ExecutionPolicy Bypass -c "irm https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.ps1 | iex" +``` + +The installer places `graphcal` in `~/.local/bin` (or `$XDG_BIN_HOME` when it is set) and, if needed, adds that directory to `PATH` through your shell profile. Open a new terminal afterwards. + +Binaries are available for x86_64 and ARM64 Linux, Intel and Apple Silicon macOS, and x86_64 Windows. The Linux binaries are statically linked, so they also run on musl-based distributions such as Alpine. + +To install a specific version, replace `latest/download` in the URL with `download/v`, for example `download/v0.0.1-alpha.35`. + +If you use [cargo-binstall](https://github.com/cargo-bins/cargo-binstall), it downloads the same binaries. Give the version explicitly while Graphcal is a pre-release: + +```bash +cargo binstall graphcal@ +``` ## Install from crates.io +Building from crates.io requires the Rust stable toolchain (1.95 or later). If you don't have Rust installed, get it from [rustup.rs](https://rustup.rs/). + ```bash cargo install graphcal --version '^0.0.1-alpha' --locked ``` @@ -56,6 +80,35 @@ graphcal --version The commit suffix is shown when the build can determine the source commit. +## Use in GitHub Actions + +The [`setup-graphcal`](https://github.com/graphcal-lang/setup-graphcal) action installs a prebuilt `graphcal` on a GitHub Actions runner in seconds. For example, to check every `.gcl` file in a repository and evaluate a model on each push and pull request: + +```yaml +name: Graphcal + +on: + push: + branches: [main] + pull_request: + +permissions: + contents: read + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: graphcal-lang/setup-graphcal@v1 + with: + version: 0.0.1-alpha.35 + - run: graphcal check + - run: graphcal eval model.gcl +``` + +`graphcal eval` exits with a non-zero status when an assertion fails, so the job fails too. Pinning `version` keeps CI reproducible while the language still changes between alpha releases; omit it to install the latest release. See the action's README for all inputs. + ## Editor Setup For the best experience, set up editor integration to get syntax highlighting, diagnostics, and **inlay hints showing computed values**. See [Editor Setup](editor-setup.md) for VS Code, Zed, Helix, and Neovim instructions. diff --git a/docs/ja/installation.md b/docs/ja/installation.md index b3f534dca..aa5f6f460 100644 --- a/docs/ja/installation.md +++ b/docs/ja/installation.md @@ -4,14 +4,38 @@ icon: material/download # インストール { #installation } -## 要件 { #requirements } +## ビルド済みバイナリをインストールする { #install-a-prebuilt-binary } -- Rust stable ツールチェーン (1.95 以降) +ビルド済みバイナリは [GitHub Releases](https://github.com/graphcal-lang/graphcal/releases) で公開しており、Rust ツールチェーンは必要ありません。 -Rust がインストールされていない場合は、[rustup.rs](https://rustup.rs/) から入手してください。 +macOS と Linux の場合: + +```bash +curl --proto '=https' --tlsv1.2 -LsSf https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.sh | sh +``` + +Windows (PowerShell) の場合: + +```powershell +powershell -ExecutionPolicy Bypass -c "irm https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.ps1 | iex" +``` + +インストーラは `graphcal` を `~/.local/bin` (`$XDG_BIN_HOME` が設定されていればそのディレクトリ) に置き、必要に応じてシェルのプロファイルを書き換えて、そのディレクトリを `PATH` に追加します。インストール後は新しいターミナルを開いてください。 + +バイナリは x86_64 と ARM64 の Linux、Intel と Apple Silicon の macOS、x86_64 の Windows 向けに用意しています。Linux 版は静的リンクなので、Alpine などの musl ベースのディストリビューションでも動きます。 + +特定のバージョンをインストールするには、URL の `latest/download` を `download/v` に置き換えます。たとえば `download/v0.0.1-alpha.35` です。 + +[cargo-binstall](https://github.com/cargo-bins/cargo-binstall) を使う場合も、同じバイナリがダウンロードされます。Graphcal がプレリリースの間は、バージョンを明示してください: + +```bash +cargo binstall graphcal@ +``` ## crates.io からインストールする { #install-from-cratesio } +crates.io からビルドするには、Rust stable ツールチェーン (1.95 以降) が必要です。Rust がインストールされていない場合は、[rustup.rs](https://rustup.rs/) から入手してください。 + ```bash cargo install graphcal --version '^0.0.1-alpha' --locked ``` @@ -56,6 +80,35 @@ graphcal --version コミットのサフィックスは、ビルドがソースのコミットを特定できる場合に表示されます。 +## GitHub Actions で使う { #use-in-github-actions } + +[`setup-graphcal`](https://github.com/graphcal-lang/setup-graphcal) アクションを使うと、GitHub Actions のランナーにビルド済みの `graphcal` を数秒でインストールできます。たとえば、push と pull request のたびに、リポジトリ内のすべての `.gcl` ファイルをチェックし、モデルを評価するには次のようにします: + +```yaml +name: Graphcal + +on: + push: + branches: [main] + pull_request: + +permissions: + contents: read + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: graphcal-lang/setup-graphcal@v1 + with: + version: 0.0.1-alpha.35 + - run: graphcal check + - run: graphcal eval model.gcl +``` + +`graphcal eval` はアサーションが失敗すると 0 以外の終了ステータスで終了するので、ジョブも失敗します。alpha 版の間はリリースごとに言語が変わるため、`version` を固定して CI の再現性を保ってください。省略すると最新のリリースがインストールされます。すべての入力は、アクションの README を参照してください。 + ## エディターのセットアップ { #editor-setup } 最良の体験を得るには、エディター連携をセットアップして、シンタックスハイライト、診断、そして**計算値を表示するインレイヒント**を利用してください。VS Code、Zed、Helix、Neovim の手順については[エディターのセットアップ](editor-setup.md)を参照してください。 From 9982c1bcbbf34bd0a16006768bbe92cc770127f9 Mon Sep 17 00:00:00 2001 From: Shunichiro Nomura Date: Sat, 10 Oct 2026 07:57:47 +0900 Subject: [PATCH 2/5] Reorganize the installation page around user tasks List the installer script first, group cargo-binstall and cargo install under a package-manager section with one version placeholder, and drop implementation details (install paths, engine embedding, offline builds) that users do not need to install Graphcal. --- docs/en/installation.md | 45 ++++++++++++------------------ docs/ja/installation.md | 61 +++++++++++++++++------------------------ 2 files changed, 42 insertions(+), 64 deletions(-) diff --git a/docs/en/installation.md b/docs/en/installation.md index 428a93d3d..223f64f85 100644 --- a/docs/en/installation.md +++ b/docs/en/installation.md @@ -4,9 +4,9 @@ icon: material/download # Installation -## Install a prebuilt binary +Graphcal is a single command-line program, `graphcal`. Prebuilt binaries are available for Linux (x86_64, ARM64), macOS (Intel, Apple Silicon), and Windows (x86_64). -Prebuilt binaries are published on [GitHub Releases](https://github.com/graphcal-lang/graphcal/releases) and need no Rust toolchain. +## Install with the installer script On macOS and Linux: @@ -20,32 +20,31 @@ On Windows (PowerShell): powershell -ExecutionPolicy Bypass -c "irm https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.ps1 | iex" ``` -The installer places `graphcal` in `~/.local/bin` (or `$XDG_BIN_HOME` when it is set) and, if needed, adds that directory to `PATH` through your shell profile. Open a new terminal afterwards. +Open a new terminal afterwards so that `graphcal` is on your `PATH`. -Binaries are available for x86_64 and ARM64 Linux, Intel and Apple Silicon macOS, and x86_64 Windows. The Linux binaries are statically linked, so they also run on musl-based distributions such as Alpine. +## Install with a package manager -To install a specific version, replace `latest/download` in the URL with `download/v`, for example `download/v0.0.1-alpha.35`. +While Graphcal is a pre-release, these commands need an explicit version. Replace `` with a version from the [releases page](https://github.com/graphcal-lang/graphcal/releases), such as `0.0.1-alpha.35`. -If you use [cargo-binstall](https://github.com/cargo-bins/cargo-binstall), it downloads the same binaries. Give the version explicitly while Graphcal is a pre-release: +### cargo-binstall + +[cargo-binstall](https://github.com/cargo-bins/cargo-binstall) downloads the prebuilt binary: ```bash cargo binstall graphcal@ ``` -## Install from crates.io +### cargo install -Building from crates.io requires the Rust stable toolchain (1.95 or later). If you don't have Rust installed, get it from [rustup.rs](https://rustup.rs/). +`cargo install` builds Graphcal from [crates.io](https://crates.io/crates/graphcal). It requires Rust 1.95 or later, which you can get from [rustup.rs](https://rustup.rs/): ```bash -cargo install graphcal --version '^0.0.1-alpha' --locked +cargo install graphcal@ --locked ``` -The explicit version requirement is necessary while Graphcal is published as a pre-release. This downloads the latest compatible Graphcal release from [crates.io](https://crates.io/crates/graphcal), builds it, and installs the `graphcal` binary to `~/.cargo/bin/`. - -## Build from a source checkout +## Build from source -Unlike a crates.io installation, building the CLI from a checkout also builds its -embedded browser engine. Install these prerequisites first: +Building from a source checkout requires these tools: - The Rust toolchain pinned in `rust-toolchain.toml`, managed by rustup. - Its `wasm32-unknown-unknown` target (`rustup target add wasm32-unknown-unknown` @@ -55,21 +54,13 @@ embedded browser engine. Install these prerequisites first: - Binaryen's `wasm-opt` on `PATH`. CI uses Binaryen 117; prebuilt distributions are available from [Binaryen releases](https://github.com/WebAssembly/binaryen/releases/tag/version_117). -Then run the usual command: +Then build as usual: ```bash cargo build ``` -The CLI automatically builds and embeds the browser engine. The first build -can take longer because it compiles both native and Wasm code. `cargo check`, -Clippy, and editor checks can also trigger this build. - -For an offline source build, prefetch dependencies and set `CARGO_NET_OFFLINE=true`. - -Published crate archives already contain the verified engine; **crates.io users -do not need these additional tools**. Report artifacts remain self-contained and -work without a network connection. +The first build takes longer than usual. `cargo check` and Clippy also need these tools. ## Verify Installation @@ -78,11 +69,9 @@ graphcal --version # graphcal (commit: ) ``` -The commit suffix is shown when the build can determine the source commit. - ## Use in GitHub Actions -The [`setup-graphcal`](https://github.com/graphcal-lang/setup-graphcal) action installs a prebuilt `graphcal` on a GitHub Actions runner in seconds. For example, to check every `.gcl` file in a repository and evaluate a model on each push and pull request: +The [`setup-graphcal`](https://github.com/graphcal-lang/setup-graphcal) action installs `graphcal` on a GitHub Actions runner. This workflow checks the `.gcl` files and evaluates a model on each push and pull request: ```yaml name: Graphcal @@ -107,7 +96,7 @@ jobs: - run: graphcal eval model.gcl ``` -`graphcal eval` exits with a non-zero status when an assertion fails, so the job fails too. Pinning `version` keeps CI reproducible while the language still changes between alpha releases; omit it to install the latest release. See the action's README for all inputs. +The job fails when an assertion fails. Graphcal still changes between alpha releases, so pin `version` to keep the results reproducible. See the [action's README](https://github.com/graphcal-lang/setup-graphcal#readme) for other options. ## Editor Setup diff --git a/docs/ja/installation.md b/docs/ja/installation.md index aa5f6f460..8ab059882 100644 --- a/docs/ja/installation.md +++ b/docs/ja/installation.md @@ -4,72 +4,63 @@ icon: material/download # インストール { #installation } -## ビルド済みバイナリをインストールする { #install-a-prebuilt-binary } +Graphcal は `graphcal` というコマンドラインプログラム 1 つで動きます。Linux (x86_64、ARM64)、macOS (Intel、Apple Silicon)、Windows (x86_64) 向けにビルド済みバイナリを配布しています。 -ビルド済みバイナリは [GitHub Releases](https://github.com/graphcal-lang/graphcal/releases) で公開しており、Rust ツールチェーンは必要ありません。 +## インストーラスクリプトでインストールする { #install-with-the-installer-script } -macOS と Linux の場合: +macOS と Linux では次のコマンドを実行します。 ```bash curl --proto '=https' --tlsv1.2 -LsSf https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.sh | sh ``` -Windows (PowerShell) の場合: +Windows では PowerShell で次のコマンドを実行します。 ```powershell powershell -ExecutionPolicy Bypass -c "irm https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.ps1 | iex" ``` -インストーラは `graphcal` を `~/.local/bin` (`$XDG_BIN_HOME` が設定されていればそのディレクトリ) に置き、必要に応じてシェルのプロファイルを書き換えて、そのディレクトリを `PATH` に追加します。インストール後は新しいターミナルを開いてください。 +インストールが終わったら、新しいターミナルを開くと `graphcal` を使えます。 -バイナリは x86_64 と ARM64 の Linux、Intel と Apple Silicon の macOS、x86_64 の Windows 向けに用意しています。Linux 版は静的リンクなので、Alpine などの musl ベースのディストリビューションでも動きます。 +## パッケージマネージャでインストールする { #install-with-a-package-manager } -特定のバージョンをインストールするには、URL の `latest/download` を `download/v` に置き換えます。たとえば `download/v0.0.1-alpha.35` です。 +Graphcal はまだプレリリースなので、以下のコマンドではバージョンを明示する必要があります。`` は [リリース一覧](https://github.com/graphcal-lang/graphcal/releases) にあるバージョン (`0.0.1-alpha.35` など) に置き換えてください。 -[cargo-binstall](https://github.com/cargo-bins/cargo-binstall) を使う場合も、同じバイナリがダウンロードされます。Graphcal がプレリリースの間は、バージョンを明示してください: +### cargo-binstall { #cargo-binstall } + +[cargo-binstall](https://github.com/cargo-bins/cargo-binstall) はビルド済みバイナリをダウンロードします。 ```bash cargo binstall graphcal@ ``` -## crates.io からインストールする { #install-from-cratesio } +### cargo install { #cargo-install } -crates.io からビルドするには、Rust stable ツールチェーン (1.95 以降) が必要です。Rust がインストールされていない場合は、[rustup.rs](https://rustup.rs/) から入手してください。 +`cargo install` は [crates.io](https://crates.io/crates/graphcal) のソースから Graphcal をビルドします。Rust 1.95 以降が必要です。Rust は [rustup.rs](https://rustup.rs/) から入手できます。 ```bash -cargo install graphcal --version '^0.0.1-alpha' --locked +cargo install graphcal@ --locked ``` -Graphcal がプレリリースとして公開されている間は、明示的なバージョン指定が必要です。このコマンドは [crates.io](https://crates.io/crates/graphcal) から互換性のある最新の Graphcal リリースをダウンロードしてビルドし、`graphcal` バイナリを `~/.cargo/bin/` にインストールします。 - -## ソースチェックアウトからビルドする { #build-from-a-source-checkout } +## ソースからビルドする { #build-from-source } -crates.io からのインストールとは異なり、チェックアウトから CLI をビルドすると、 -組み込みのブラウザーエンジンもビルドされます。まず、次の前提条件をインストールしてください: +リポジトリをチェックアウトしてビルドするには、次のツールが必要です。 -- rustup で管理される、`rust-toolchain.toml` に固定された Rust ツールチェーン。 +- `rust-toolchain.toml` で固定した Rust ツールチェーン (rustup で管理) - その `wasm32-unknown-unknown` ターゲット (リポジトリのルートで - `rustup target add wasm32-unknown-unknown` を実行)。 -- **`Cargo.lock` で解決された `wasm-bindgen` のバージョン**に一致する `wasm-bindgen-cli`: - `cargo install wasm-bindgen-cli --version --locked`。 -- `PATH` 上にある Binaryen の `wasm-opt`。CI は Binaryen 117 を使用しています。ビルド済みの配布物は - [Binaryen releases](https://github.com/WebAssembly/binaryen/releases/tag/version_117) から入手できます。 + `rustup target add wasm32-unknown-unknown` を実行) +- **`Cargo.lock` で解決された `wasm-bindgen` と同じバージョン**の `wasm-bindgen-cli` + (`cargo install wasm-bindgen-cli --version --locked` でインストール) +- `PATH` 上にある Binaryen の `wasm-opt`。CI は Binaryen 117 を使っています。ビルド済みのものは + [Binaryen のリリース](https://github.com/WebAssembly/binaryen/releases/tag/version_117) から入手できます。 -その後、通常のコマンドを実行します: +ツールを揃えたら、通常どおりビルドします。 ```bash cargo build ``` -CLI はブラウザーエンジンを自動的にビルドして埋め込みます。初回ビルドは、 -ネイティブコードと Wasm コードの両方をコンパイルするため時間がかかることがあります。 -`cargo check`、Clippy、エディターのチェックでも、このビルドが実行されることがあります。 - -オフラインでソースビルドを行うには、依存関係を事前に取得し、`CARGO_NET_OFFLINE=true` を設定してください。 - -公開されているクレートアーカイブには検証済みのエンジンがすでに含まれているため、**crates.io のユーザーは -これらの追加ツールを必要としません**。レポートの成果物は自己完結したままであり、 -ネットワーク接続なしで動作します。 +初回のビルドは通常より時間がかかります。`cargo check` と Clippy を実行するときも、これらのツールが必要です。 ## インストールの確認 { #verify-installation } @@ -78,11 +69,9 @@ graphcal --version # graphcal (commit: ) ``` -コミットのサフィックスは、ビルドがソースのコミットを特定できる場合に表示されます。 - ## GitHub Actions で使う { #use-in-github-actions } -[`setup-graphcal`](https://github.com/graphcal-lang/setup-graphcal) アクションを使うと、GitHub Actions のランナーにビルド済みの `graphcal` を数秒でインストールできます。たとえば、push と pull request のたびに、リポジトリ内のすべての `.gcl` ファイルをチェックし、モデルを評価するには次のようにします: +[`setup-graphcal`](https://github.com/graphcal-lang/setup-graphcal) アクションを使うと、GitHub Actions のランナーに `graphcal` をインストールできます。次のワークフローは、push と pull request のたびに `.gcl` ファイルをチェックし、モデルを評価します。 ```yaml name: Graphcal @@ -107,7 +96,7 @@ jobs: - run: graphcal eval model.gcl ``` -`graphcal eval` はアサーションが失敗すると 0 以外の終了ステータスで終了するので、ジョブも失敗します。alpha 版の間はリリースごとに言語が変わるため、`version` を固定して CI の再現性を保ってください。省略すると最新のリリースがインストールされます。すべての入力は、アクションの README を参照してください。 +アサーションが失敗すると、ジョブも失敗します。alpha 版の間はリリースごとに Graphcal の仕様が変わるので、`version` を固定して結果を再現できるようにしてください。そのほかの設定は[アクションの README](https://github.com/graphcal-lang/setup-graphcal#readme) を参照してください。 ## エディターのセットアップ { #editor-setup } From 5eab21fe66c99decfd6dbcd3eecbfda8e8e6ee00 Mon Sep 17 00:00:00 2001 From: Shunichiro Nomura Date: Sat, 10 Oct 2026 09:01:39 +0900 Subject: [PATCH 3/5] Explain how to update an installer-script installation Rerunning the installer replaces the binary with the latest release; no separate updater is installed. --- docs/en/installation.md | 2 +- docs/ja/installation.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/installation.md b/docs/en/installation.md index 223f64f85..d631bdf34 100644 --- a/docs/en/installation.md +++ b/docs/en/installation.md @@ -20,7 +20,7 @@ On Windows (PowerShell): powershell -ExecutionPolicy Bypass -c "irm https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.ps1 | iex" ``` -Open a new terminal afterwards so that `graphcal` is on your `PATH`. +Open a new terminal afterwards so that `graphcal` is on your `PATH`. To update Graphcal, run the same command again. ## Install with a package manager diff --git a/docs/ja/installation.md b/docs/ja/installation.md index 8ab059882..5d838fa82 100644 --- a/docs/ja/installation.md +++ b/docs/ja/installation.md @@ -20,7 +20,7 @@ Windows では PowerShell で次のコマンドを実行します。 powershell -ExecutionPolicy Bypass -c "irm https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.ps1 | iex" ``` -インストールが終わったら、新しいターミナルを開くと `graphcal` を使えます。 +インストールが終わったら、新しいターミナルを開くと `graphcal` を使えます。アップデートするときも、同じコマンドをもう一度実行します。 ## パッケージマネージャでインストールする { #install-with-a-package-manager } From 69362641b9a177150e87b5ed92131f7c45193e38 Mon Sep 17 00:00:00 2001 From: Shunichiro Nomura Date: Sat, 10 Oct 2026 09:27:56 +0900 Subject: [PATCH 4/5] Point the README quickstart at the package-manager section The installation page now groups cargo-binstall and cargo install under package managers instead of a crates.io section. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b21fda1a..438490129 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ For engineers who want more confidence than spreadsheets and ad-hoc scripts prov ## Quickstart -Install the prebuilt CLI on macOS or Linux (see the [installation guide](https://graphcal.org/docs/en/installation/) for Windows, crates.io, and GitHub Actions): +Install the prebuilt CLI on macOS or Linux (see the [installation guide](https://graphcal.org/docs/en/installation/) for Windows, package managers, and GitHub Actions): ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.sh | sh From 776885cff9a296c878efbf3ae8ed4c1047dc541a Mon Sep 17 00:00:00 2001 From: Shunichiro Nomura Date: Sat, 10 Oct 2026 09:29:06 +0900 Subject: [PATCH 5/5] Add the Windows installer command to the README quickstart --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 438490129..f7e07d2a2 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,18 @@ For engineers who want more confidence than spreadsheets and ad-hoc scripts prov ## Quickstart -Install the prebuilt CLI on macOS or Linux (see the [installation guide](https://graphcal.org/docs/en/installation/) for Windows, package managers, and GitHub Actions): +Install the prebuilt CLI (see the [installation guide](https://graphcal.org/docs/en/installation/) for package managers and GitHub Actions): ```sh +# macOS and Linux curl --proto '=https' --tlsv1.2 -LsSf https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.sh | sh ``` +```powershell +# Windows +powershell -ExecutionPolicy Bypass -c "irm https://github.com/graphcal-lang/graphcal/releases/latest/download/graphcal-installer.ps1 | iex" +``` + Save [`rocket.gcl`](tests/fixtures/valid/rocket.gcl), the file shown above, then run: ```sh