Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,25 @@ We recommend that you
keep your app updated to our `alpha` branch, as we update as frequently
as every week.

To update, use the `flutter upgrade`
## Upgrading Flutter channel and your packages
To update both the Flutter SDK and your packages, use the `flutter upgrade`
command from the root of your app (the same directory that contains the
`pubspec.yaml` file):

```
$ flutter upgrade
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this also run flutter packages upgrade ?

Or is it now purely scoped to just upgrading the flutter SDK associated with this app?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flutter upgrade updates both channel and packages as before, per your recommendation.

```

## Upgrading your packages
If you've modified your `pubspec.yaml` file, or you want to only update
the packages your app depends upon instead of both the packages and
Flutter itself, then use the following commands:
* `flutter packages get` to get all the dependencies listed
in the `pubspec.yaml` file, or
* `flutter packages upgrade` to get the latest versions
of all the dependencies listed in the `pubspec.yaml` file

We publish breaking change announcements to our
[mailing list](https://groups.google.com/forum/#!forum/flutter-dev). We
strongly recommend that you subscribe to get announcements from us.
Plus, we'd love to hear from you!
Plus, we'd love to hear from you!