How to send "1) Proceed with installation (default)" in a single command with 'curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh' command

i am trying to send this command and it is asking to choose any one from the following

  1. Proceed with installation (default)
  2. Customize installation
  3. Cancel installation
    command:-curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

any help how to send 1 with the above command like below
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | 1

This might work

1 Like

Thank you,it worked

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.