Reputation: 307
I am trying to get all versions of Flutter using command line directly -as always- but it is not working anymore.
Command:
flutter version
Result:
Could not find a command named "version".
Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options.
Is there any alternative for it rather than opening the website?
Upvotes: 5
Views: 4441
Reputation: 7082
As the flutter version
on my Flutter 1.22.4 installation says:
[!] The "version" command is deprecated and will be removed in a future version of
Flutter. See https://flutter.dev/docs/development/tools/sdk/releases for previous
releases of Flutter.
Here is the Pull Request that removed this deprecated command. Here is the corresponding issue.
Upvotes: 2