How to install deno with auto yes?
I am creating a setup script, and part of the installation process involves answering the question 'Do you want to edit shell configs to add Deno to the PATH?', which prevents my script from proceeding to the next task.
5 Replies
it has a yes option
Yeah, but the command given on the website is this: curl -fsSL https://deno.land/install.sh | sh
I'm not sure where to put the -y there.
So what I did was save it in a file, then run: chmod +x setup.sh and finally: ./setup.sh -y
curl -fsSL https://deno.land/install.sh | sh -s -- -y
(chatgpt)dang!