$ flutter upgrade. This command gets the most recent version of the Flutter SDK that’s available on your current Flutter channel . If you want an even more recent version of the Flutter SDK, switch to a less stable Flutter channel and then run flutter upgrade .