Skip to content

Commit

Permalink
typst-installer
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Dec 20, 2023
1 parent 7b5edd0 commit 309d803
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

```sh
# ✨🚀
curl -fsSL https://typst.community/typst-install/install.sh | sh
curl -fsSL https://typst.community/typst-installer/install.sh | sh
typst compile paper.typ
```

Expand All @@ -28,29 +28,29 @@ 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-installer/install.sh | sh
```

Windows

```ps1
irm https://typst.community/typst-install/install.ps1 | iex
irm https://typst.community/typst-installer/install.ps1 | iex
```

<details><summary>Change install location</summary>

Linux, macOS, WSL

```sh
export typst-install="/usr/local"
curl -fsSL https://typst.community/typst-install/install.sh | sh
export typst-installer="/usr/local"
curl -fsSL https://typst.community/typst-installer/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-installer/install.ps1 | iex
```

</details>
Expand All @@ -60,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-installer/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-installer/install.ps1 | iex
```

</details>
Expand Down Expand Up @@ -99,7 +99,7 @@ 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-installer/install.sh` script is
published. That means it's a good idea to **make sure that the `main` branch
always works!** 😉

Expand Down
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ if (!(";${Path};".ToLower() -like "*;$TypstInstall\$Folder;*".ToLower())) {

Write-Output "Typst was installed successfully to $TypstInstall\$Folder\typst.exe"
Write-Output "Run 'typst --help' to get started"
Write-Output "Stuck? Open an Issue https://github.com/typst-community/install_typst/issues"
Write-Output "Stuck? Open an Issue https://github.com/typst-community/typst-installer/issues"
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ Run '$typst_install/bin/typst$exe_ext --help' to get started
EOF
fi

echo "Stuck? Open an Issue https://github.com/typst-community/install_typst/issues"
echo "Stuck? Open an Issue https://github.com/typst-community/typst-installer/issues"

0 comments on commit 309d803

Please sign in to comment.