curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
or download the rustup and install https://www.rust-lang.org/tools/install
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
cargo install --git https://github.com/coral-xyz/anchor avm --locked --force