summaryrefslogtreecommitdiff
path: root/docs/tools/script_installer.md
diff options
context:
space:
mode:
authorTomofumi Chiba <tomofumi.chiba@gmail.com>2020-06-11 09:24:41 +0900
committerGitHub <noreply@github.com>2020-06-10 20:24:41 -0400
commita1b37f177be848ce3c3248b6b835f8999e36afff (patch)
tree879a8956abe9069bd72da0249908ae74a8781ce9 /docs/tools/script_installer.md
parente4e332abbbe0dbdb44305a261f9965ba89e7767b (diff)
fixed double prompt in manual (#6230)
Diffstat (limited to 'docs/tools/script_installer.md')
-rw-r--r--docs/tools/script_installer.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tools/script_installer.md b/docs/tools/script_installer.md
index 6badd6436..e03392b28 100644
--- a/docs/tools/script_installer.md
+++ b/docs/tools/script_installer.md
@@ -22,7 +22,7 @@ $ deno install --allow-net --allow-read https://deno.land/std/http/file_server.t
To change the executable name, use `-n`/`--name`:
```shell
- deno install --allow-net --allow-read -n serve https://deno.land/std/http/file_server.ts
+deno install --allow-net --allow-read -n serve https://deno.land/std/http/file_server.ts
```
The executable name is inferred by default:
@@ -36,7 +36,7 @@ The executable name is inferred by default:
To change the installation root, use `--root`:
```shell
-$ deno install --allow-net --allow-read --root /usr/local https://deno.land/std/http/file_server.ts
+deno install --allow-net --allow-read --root /usr/local https://deno.land/std/http/file_server.ts
```
The installation root is determined, in order of precedence:
@@ -48,14 +48,14 @@ The installation root is determined, in order of precedence:
These must be added to the path manually if required.
```shell
-$ echo 'export PATH="$HOME/.deno/bin:$PATH"' >> ~/.bashrc
+echo 'export PATH="$HOME/.deno/bin:$PATH"' >> ~/.bashrc
```
You must specify permissions that will be used to run the script at installation
time.
```shell
-$ deno install --allow-net --allow-read https://deno.land/std/http/file_server.ts 8080
+deno install --allow-net --allow-read https://deno.land/std/http/file_server.ts 8080
```
The above command creates an executable called `file_server` that runs with