I have installed rust using curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
on Ubuntu.
But when I tried cargo generate --git https://github.com/CosmWasm/cw-template.git --name FOO
I met the error like this error: no such subcommand: 'generate'
My cargo version is cargo 1.59.0 (49d8809dc 2022-02-10)
.
Why this happens?