XXXX@XXXX:/usr/bin$ sudo curl https://sh.rustup.rs -sSf | sh
info: downloading installer
error: it looks like you have an existing installation of Rust at:
error: rustup cannot be installed alongside Rust. Please uninstall first
error: if this is what you want, restart the installation with `-y'
error: cannot install while Rust is installed
This is the error I get when I try to install rustup. My current version of rust is out of date and I cannot find a way to update it.
How can I get rid of it so I can install rustup or update it