From 64e6a7b43d6dd24964be85906f764dbe1b6b3924 Mon Sep 17 00:00:00 2001
From: Luca Casonato
Date: Fri, 18 Mar 2022 10:43:06 +0100
Subject: [PATCH] docs: update deno install command to use -r (#138)
---
README.md | 2 +-
docs/getting-started.md | 2 +-
docs/getting-started/installation.md | 2 +-
www/routes/index.tsx | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 78b04c06..308a3ad1 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/docs/getting-started.md b/docs/getting-started.md
index fb4fb428..96cbf4f3 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -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
diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md
index 01bf207d..158721aa 100644
--- a/docs/getting-started/installation.md
+++ b/docs/getting-started/installation.md
@@ -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
diff --git a/www/routes/index.tsx b/www/routes/index.tsx
index aad9db16..d8fe5a2e 100644
--- a/www/routes/index.tsx
+++ b/www/routes/index.tsx
@@ -105,7 +105,7 @@ function GettingStarted() {
Then, run the following command to install the `fresh` CLI:
- 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