Closed iugo closed 2 weeks ago
Thanks, we'll look into this asap. And sorry for the inconvenience!
Hello @iugo! Again, sorry for the trouble!
I think your suggestion makes a lot of sense, and I've started working on it.
In the meantime, I've updated the script to disable prompts if the CI
environment var is set.
For now, you can set that variable to disable prompts until we have a more intuitive solution (such as a -y
flag, as you suggest)
This should now be available! You can pass the -y (--yes) flag to the installer to accept defaults and skip the prompts. If you would prefer to not have us set up the PATH, you can pass --no-modify-path in addition.
Hello Deno team,
I hope this message finds you well. I'm writing to request a new feature for the Deno installation script: a non-interactive mode.
Current Situation: The recent addition of interactive prompts in the installation process, while helpful for many users, has inadvertently broken our automated installation workflows. Specifically, the prompt asking to edit shell configs to add Deno to the PATH requires manual intervention, which is not feasible in our automated environments.
Request: We kindly request the addition of a non-interactive mode for the Deno installation script. This mode would:
Proposed Implementation: This could be implemented as a command-line flag (e.g.,
--non-interactive
or-y
) or an environment variable (e.g.,DENO_NONINTERACTIVE=1
).Benefits:
We appreciate your consideration of this feature request. It would greatly enhance the flexibility of Deno's installation process, especially for users who rely on automated workflows.
Thank you for your time and continued work on Deno.
Best regards, iugo