When i type cargo (that is a Rust build system and package manager) inside tmux, the terminal shows:
cargo
zsh: command not found: cargo