'run rustup's curl-fetched installer script non-interactively
I am trying to automate stuff which includes installing rust through
curl https://sh.rustup.rs -sSf | sh
This is interactive and queries for user-input to choose from i.e. "1" "2" or "3".
Not able to figure out, how to input.
Normally for apt-get, "-y" option try to capture and input for prompt.
Not sure, how it is done for curl.
How can I do this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
