docs: update installation instructions

This commit is contained in:
Umberto Pepato
2020-06-09 11:14:02 +02:00
parent 446962f612
commit 5c0fa5e9c7
2 changed files with 2 additions and 29 deletions

View File

@@ -51,34 +51,9 @@ One of the things that many developers find disorientating about Deno is the fac
## Install
```sh
$ deno install --allow-read --allow-write --allow-env --allow-run -n vr https://deno.land/x/velociraptor/cli.ts
$ deno install -qA -n vr https://deno.land/x/velociraptor@v1.0.0-beta.10/cli.ts
```
<details>
<summary>Upgrade</summary>
The above command will always install the latest version. If you're updating from an older version you might need to run the command with the `-f` flag.
</details>
<details>
<summary>Install a specific version</summary>
To install a specific version, run the install command with a specific version tag:
```sh
$ deno install ... https://deno.land/x/velociraptor@<version>/cli.ts
^^^^^^^^^
```
For example
```sh
$ deno install --allow-read --allow-write --allow-env --allow-run -n vr https://deno.land/x/velociraptor@v1.0.0-beta.10/cli.ts
```
</details>
To get help with the CLI run `vr help`, or `vr help <SUBCOMMAND>` for specific commands.
## Project status

View File

@@ -3,9 +3,7 @@ const wd = "./test";
const cliArgs = [
"deno",
"run",
"--allow-read",
"--allow-run",
"--allow-env",
"-qA",
"../cli.ts",
];
const expectedOutput = "Works!";