rust-lang / rustlings

:crab: Small exercises to get you used to reading and writing Rust code!
https://rustlings.cool
MIT License
52.69k stars 10.02k forks source link

No "init" option for rustlings #2059

Closed Mugworth closed 1 month ago

Mugworth commented 1 month ago

As in the title when i run rustlings init it outputs:

Unrecognized argument: init

Run rustlings --help for more information.

cargo and rustc version is 1.80

mo8it commented 1 month ago

You must have an old version of Rustlings (<6.0).

Please follow the instructions in the README to install Rustlings again. If you still have this issue, share the output of rustlings --version

Mugworth commented 1 month ago

My bad i had 2 rustlings packages installed on system, one of which was, as you said, under 6.0 version. Thanks!