Skip to content

Commit 89dafe6

Browse files
committed
docs: install instructions in readme
1 parent 8c351b3 commit 89dafe6

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,27 @@ Options:
3232
-V, --version Print version
3333
```
3434

35+
## Installation
3536

37+
### Install prebuilt binaries via shell script
3638

37-
# Useful commands
39+
```sh
40+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tilepad/tilepad-cli/releases/latest/download/tilepad-cli-installer.sh | sh
41+
```
42+
43+
### Install prebuilt binaries via powershell script
44+
45+
```sh
46+
powershell -ExecutionPolicy Bypass -c "irm https://github.com/tilepad/tilepad-cli/releases/latest/download/tilepad-cli-installer.ps1 | iex"
47+
```
48+
49+
### Install prebuilt binaries into your npm project
50+
51+
```sh
52+
npm install @tilepad/cli
53+
```
54+
55+
## Useful commands
3856

3957
Pulling down the git submodules for the various project templates:
4058

@@ -46,4 +64,4 @@ Adding a new template:
4664

4765
```
4866
git submodule add https://github.com/TilePad/tilepad-example-js.git templates/template-javascript
49-
```
67+
```

0 commit comments

Comments
 (0)