-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
deno install -h
:
...
OPTIONS:
...
-d, --dir <dir> Installation directory (defaults to $HOME/.deno/bin)
...
Wouldn't it be more intuitive for it to default to $DENO_DIR/bin if it exists?
If someone leaves everything to its default, the installation directory of deno and the installation directory of executables created with deno install
will coincide at $HOME/.deno/bin.
In my case, however, I installed deno to /opt/deno and DENO_DIR is set there. Now if I deno install
something without -d
, it will still be put into $HOME/.deno. It is obviously confusing for this location to exist in my situation. It would be more consistent with the default-only case if the installation directory for deno install
defaulted to $DENO_DIR/bin, since DENO_DIR should be known at this time.
Metadata
Metadata
Assignees
Labels
No labels