diff --git a/website/versioned_docs/version-0.13/00-getting-started/02-installation.mdx b/website/versioned_docs/version-0.13/00-getting-started/02-installation.mdx index fce730c..06016a9 100644 --- a/website/versioned_docs/version-0.13/00-getting-started/02-installation.mdx +++ b/website/versioned_docs/version-0.13/00-getting-started/02-installation.mdx @@ -19,9 +19,9 @@ import TabItem from "@theme/TabItem"; ### Installing manually - 1. [Download](https://ziglang.org/download/#release-0.12.0) a prebuilt version of Zig. + 1. [Download](https://ziglang.org/download/#release-0.13.0) a prebuilt version of Zig. - Choose a build of Zig 0.12 for Linux that matches your CPU architecture. If you're unsure which architecture you're using, this can be found with: + Choose a build of Zig 0.13 for Linux that matches your CPU architecture. If you're unsure which architecture you're using, this can be found with: ```bash uname -m @@ -30,13 +30,13 @@ import TabItem from "@theme/TabItem"; 2. Extract the archive using tar, e.g. ```bash - tar xf zig-linux-x86_64-0.12.0.tar.xz + tar xf zig-linux-x86_64-0.13.0.tar.xz ``` 3. Add the location of your Zig binary to your path, e.g. ```bash - echo 'export PATH="$HOME/zig-linux-x86_64-0.12.0:$PATH"' >> ~/.bashrc + echo 'export PATH="$HOME/zig-linux-x86_64-0.13.0:$PATH"' >> ~/.bashrc ``` @@ -56,9 +56,9 @@ import TabItem from "@theme/TabItem"; ### Installing manually - 1. [Download](https://ziglang.org/download/#release-0.12.0) a prebuilt version of Zig. + 1. [Download](https://ziglang.org/download/#release-0.13.0) a prebuilt version of Zig. - Choose a build of Zig 0.12 for Windows that matches your CPU architecture. Most Windows systems use `x86_64`, also known as `AMD64`. If you're unsure which architecture you're using, this can be found with: + Choose a build of Zig 0.13 for Windows that matches your CPU architecture. Most Windows systems use `x86_64`, also known as `AMD64`. If you're unsure which architecture you're using, this can be found with: ```powershell $Env:PROCESSOR_ARCHITECTURE @@ -118,7 +118,7 @@ Verify your installation with `zig version`. The output should look like this: ``` $ zig version -0.12.0 +0.13.0 ``` ### Extras diff --git a/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx b/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx index fce730c..12da1d3 100644 --- a/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx +++ b/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx @@ -15,13 +15,15 @@ import TabItem from "@theme/TabItem"; {label: 'macOS', value: 'macos'}, ]}> - Consider getting Zig from your distribution's [package manager](https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Package-Manager). Most major linux distros package the latest Zig release. +{/* +Consider getting Zig from your distribution's [package manager](https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Package-Manager). Most major linux distros package the latest Zig release. +*/} ### Installing manually - 1. [Download](https://ziglang.org/download/#release-0.12.0) a prebuilt version of Zig. + 1. [Download](https://ziglang.org/download/#release-0.14.0) a prebuilt version of Zig. - Choose a build of Zig 0.12 for Linux that matches your CPU architecture. If you're unsure which architecture you're using, this can be found with: + Choose a build of Zig 0.14 for Linux that matches your CPU architecture. If you're unsure which architecture you're using, this can be found with: ```bash uname -m @@ -30,16 +32,17 @@ import TabItem from "@theme/TabItem"; 2. Extract the archive using tar, e.g. ```bash - tar xf zig-linux-x86_64-0.12.0.tar.xz + tar xf zig-linux-x86_64-0.14.0-dev.2183+ee9f00d67.tar.xz ``` 3. Add the location of your Zig binary to your path, e.g. ```bash - echo 'export PATH="$HOME/zig-linux-x86_64-0.12.0:$PATH"' >> ~/.bashrc + echo 'export PATH="$HOME/zig-linux-x86_64-0.14.0-dev.2183+ee9f00d67:$PATH"' >> ~/.bashrc ``` +{/* Consider getting Zig from a package manager such as [chocolatey](https://chocolatey.org/), [scoop](https://scoop.sh/), or [winget](https://learn.microsoft.com/en-us/windows/package-manager/winget/#install-winget). All commands shown are to be used inside Powershell. @@ -53,12 +56,19 @@ import TabItem from "@theme/TabItem"; ``` scoop install zig ``` +*/} + Latest [dev build](https://scoop.sh/#/apps?q=zig&id=921df07e75042de645204262e784a17c2421944c) is available on [scoop](https://scoop.sh/#/apps?q=zig&id=7e124d6047c32d426e4143ab395d863fc9d6d491). + + ``` + scoop bucket add versions + scoop install versions/zig-dev + ``` ### Installing manually - 1. [Download](https://ziglang.org/download/#release-0.12.0) a prebuilt version of Zig. + 1. [Download](https://ziglang.org/download/#release-0.14.0) a prebuilt version of Zig. - Choose a build of Zig 0.12 for Windows that matches your CPU architecture. Most Windows systems use `x86_64`, also known as `AMD64`. If you're unsure which architecture you're using, this can be found with: + Choose a build of Zig 0.14 for Windows that matches your CPU architecture. Most Windows systems use `x86_64`, also known as `AMD64`. If you're unsure which architecture you're using, this can be found with: ```powershell $Env:PROCESSOR_ARCHITECTURE @@ -103,11 +113,13 @@ import TabItem from "@theme/TabItem"; +{/* Consider getting Zig from a package manager such as [brew](https://brew.sh/). ``` brew install zig ``` +*/} @@ -118,7 +130,7 @@ Verify your installation with `zig version`. The output should look like this: ``` $ zig version -0.12.0 +0.14.0-dev.2183+ee9f00d67 ``` ### Extras