Skip to content

Commit

Permalink
Recommend deno install -g
Browse files Browse the repository at this point in the history
In Deno 2.0, `deno install` seems to default to npm-like project
installation. Closes #338.
  • Loading branch information
sampsyo committed Oct 11, 2024
1 parent 4029dd7 commit e030334
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Install the Tools
You will want the IR interpreter, which uses [Deno][].
Just type this:

$ deno install brili.ts
$ deno install -g brili.ts

As Deno tells you, you will then need to add `$HOME/.deno/bin` to [your `$PATH`][path].
You will then have `brili`, which takes a Bril program as JSON on stdin and executes it.
Expand Down
2 changes: 1 addition & 1 deletion docs/tools/brilck.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Install
The `brilck` tool uses [Deno][].
Type this:

$ deno install brilck.ts
$ deno install -g brilck.ts

If you haven't already, you will then need to add `$HOME/.deno/bin` to [your `$PATH`][path].

Expand Down
2 changes: 1 addition & 1 deletion docs/tools/interp.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Install
To use the interpreter, you will need [Deno][].
Just run:

$ deno install brili.ts
$ deno install -g brili.ts

As Deno tells you, you will then need to add `$HOME/.deno/bin` to [your `$PATH`][path].

Expand Down
2 changes: 1 addition & 1 deletion docs/tools/ts2bril.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Install
The TypeScript compiler uses [Deno][].
Type this:

$ deno install --allow-env --allow-read ts2bril.ts
$ deno install -g --allow-env --allow-read ts2bril.ts

If you haven't already, you will then need to add `$HOME/.deno/bin` to [your `$PATH`][path].

Expand Down

0 comments on commit e030334

Please sign in to comment.