docs: update deno install command to use -r (#138)

This commit is contained in:
Luca Casonato
2022-03-18 10:43:06 +01:00
committed by GitHub
parent f1e6d6b567
commit 64e6a7b43d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ To install, run the following command. This will add `fresh` CLI to your PATH.
Make sure to have Deno 1.12.0 or later installed.
```sh
deno install -A -f --no-check -n fresh https://raw.githubusercontent.com/lucacasonato/fresh/main/cli.ts
deno install -A -f --no-check -n fresh -r https://raw.githubusercontent.com/lucacasonato/fresh/main/cli.ts
```
## Getting started
+1 -1
View File
@@ -18,7 +18,7 @@ inside an existing project. The `fresh` CLI is not required for most development
or in CI, as `fresh` does not have a build step. To install `fresh`:
```
deno install -A -f --no-check -n fresh https://raw.githubusercontent.com/lucacasonato/fresh/main/cli.ts
deno install -A -f --no-check -n fresh -r https://raw.githubusercontent.com/lucacasonato/fresh/main/cli.ts
```
## Creating a new project
+1 -1
View File
@@ -11,7 +11,7 @@ an existing project, you do not need to install or use the `fresh` CLI.
To install the `fresh` CLI:
```
deno install -A -f --no-check -n fresh https://raw.githubusercontent.com/lucacasonato/fresh/main/cli.ts
deno install -A -f --no-check -n fresh -r https://raw.githubusercontent.com/lucacasonato/fresh/main/cli.ts
```
The tool should now be available as `fresh` in your terminal. To try out if
+1 -1
View File
@@ -105,7 +105,7 @@ function GettingStarted() {
Then, run the following command to install the `fresh` CLI:
</p>
<pre class={tw`overflow-x-auto py-2 px-4 bg(gray-100)`}>
deno install -A -f --no-check -n fresh
deno install -A -f --no-check -n fresh -r
https://raw.githubusercontent.com/lucacasonato/fresh/main/cli.ts
</pre>
<p class={tw`text-gray-600`}>