Gyong
Gyong•2w ago

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
Mrcool 🇵🇸
it has a yes option
Gyong
GyongOP•2w ago
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
Mrcool 🇵🇸
curl -fsSL https://deno.land/install.sh | sh -s -- -y (chatgpt)
Gyong
GyongOP•2w ago
dang!