Skip to content

Commit

Permalink
docs: add --global option for the install command (#165)
Browse files Browse the repository at this point in the history
Now the command shows the warning like this:

```
⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use the `-g` or `--global` flag.
```

Maybe molt should be installed as global.
  • Loading branch information
kyoh86 authored May 7, 2024
1 parent 5c884f6 commit bda03e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ supposed to cover most of the use cases.
The molt CLI can be installed globally with the following command, for example:

```sh
deno install --allow-env --allow-read --allow-write --allow-net --allow-run=git,deno\
deno install --global --allow-env --allow-read --allow-write --allow-net --allow-run=git,deno\
--name molt jsr:@molt/cli
```

Expand Down

0 comments on commit bda03e3

Please sign in to comment.