Once Rust is installed environment has to be modified, so binaries can be found.
source $HOME/.cargo/env
Content of $HOME/.cargo/env looks like:
#!/bin/sh# rustup shell setup# affix colons on either side of $PATH to simplify matchingcase":${PATH}:"in*:"$HOME/.cargo/bin":*) ;;*)# Prepending path in case a system-installed rustc needs to be overriddenexport PATH="$HOME/.cargo/bin:$PATH" ;;esac