diff --git a/README.md b/README.md index 26277f3..772e512 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,13 @@ -# typst_install +# Typst installer -🤖 `curl | sh` installer script for Typst +🤖 `curl | sh` installer script for Typst \ +💡 Inspired by [denoland/deno_install]
```sh # ✨🚀 -curl -fsSL https://typst.community/typst_install/install.sh | sh +curl -fsSL https://typst.community/typst-install/install.sh | sh typst compile paper.typ ``` @@ -27,13 +28,13 @@ instructions] and download a binary from [typst/typst releases]. Linux, macOS, WSL ```sh -curl -fsSL https://typst.community/typst_install/install.sh | sh +curl -fsSL https://typst.community/typst-install/install.sh | sh ``` Windows ```ps1 -irm https://typst.community/typst_install/install.ps1 | iex +irm https://typst.community/typst-install/install.ps1 | iex ```
Change install location @@ -41,15 +42,15 @@ irm https://typst.community/typst_install/install.ps1 | iex Linux, macOS, WSL ```sh -export TYPST_INSTALL="/usr/local" -curl -fsSL https://typst.community/typst_install/install.sh | sh +export typst-install="/usr/local" +curl -fsSL https://typst.community/typst-install/install.sh | sh ``` Windows ```ps1 $Env:TypstInstall = "C:\Program Files\typst" -irm https://typst.community/typst_install/install.ps1 | iex +irm https://typst.community/typst-install/install.ps1 | iex ```
@@ -59,13 +60,13 @@ irm https://typst.community/typst_install/install.ps1 | iex Linux, macOS, WSL ```sh -curl -fsSL https://typst.community/typst_install/install.sh | sh -s 0.10.0 +curl -fsSL https://typst.community/typst-install/install.sh | sh -s 0.10.0 ``` Windows ```ps1 -v="0.10.0"; irm https://typst.community/typst_install/install.ps1 | iex +v="0.10.0"; irm https://typst.community/typst-install/install.ps1 | iex ``` @@ -98,11 +99,12 @@ Options: ![PowerShell](https://img.shields.io/static/v1?style=for-the-badge&message=PowerShell&color=5391FE&logo=PowerShell&logoColor=FFFFFF&label=) GitHub Pages is enabled and pulls straight from the `main` branch's root folder. -That's how the `https://typst.community/typst_install/install.sh` script is +That's how the `https://typst.community/typst-install/install.sh` script is published. That means it's a good idea to **make sure that the `main` branch always works!** 😉 [official Typst installation instructions]: https://github.com/typst/typst#installation [typst/typst releases]: https://github.com/typst/typst/releases +[denoland/deno_install]: https://github.com/denoland/deno_install