Skip to content

Commit 60eae6d

Browse files
committed
add install instructions for specific versions
1 parent 41851da commit 60eae6d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,20 @@ Fortunately Deno is very nice and [easy to install](https://deno.land/manual@v1.
121121

122122
These instructions will guide you through using Deno to install `jevko` as a command in your system, so that you can invoke it from anywhere.
123123

124-
If you have [Deno installed](#dependencies) and Deno's installation root's bin directory (something like `/home/USER/.deno/bin`) [added to `PATH`](#tip-get-a-list-of-directories-in-your-path) then you can use the following command to install `jevko` directly from GitHub:
124+
If you have [Deno installed](#dependencies) and Deno's installation root's bin directory (something like `/home/USER/.deno/bin`) [added to `PATH`](#tip-get-a-list-of-directories-in-your-path) then you can use the following command to install `jevko` directly from GitHub master branch:
125125

126126
```
127127
deno install --allow-read --allow-write --allow-run https://raw.githubusercontent.com/jevko/jevko-cli/master/jevko.js
128128
```
129129

130130
Note: if you haven't added Deno's installation root to `PATH`, then `jevko` won't be recognized as a command.
131131

132+
To install a specific version of jevko-cli, specify it in the URL in place of master:
133+
134+
```
135+
deno install --allow-read --allow-write --allow-run https://raw.githubusercontent.com/jevko/jevko-cli/v0.1.0/jevko.js
136+
```
137+
132138
### Alternative: install without editing PATH
133139

134140
If you can't or prefer not to change your `PATH`, you can alternatively install `jevko` to a [directory that is already in the `PATH`](#tip-get-a-list-of-directories-in-your-path), by adding the `--root` option to `deno install`. E.g. if your `PATH` contains `~/.local/bin`, then you can run:

0 commit comments

Comments
 (0)