docs: update deno install command to use -r (#138)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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`}>
|
||||
|
||||
Reference in New Issue
Block a user