pubglobalupdate 0.4.0+2

  • Installing
  • Versions
  • 48


Command (Linux/Mac/Windows) to update all current global activated packages (git, path or hosted) to their latest version

Build Status


pub global activate pubglobalupdate


Usage: pubglobalupdate [<pkg1> <pkg2>...]

By default all packages are updated

Global options:
-h, --help       Usage help
    --version    Display version
-v, --verbose    Verbose
-d, --dry-run    Do not run test, simple show the command executed

Update all current activated packages

$ pubglobalupdate

Update one package

$ pubglobalupdate stagehand


  • before commit, run all unit tests
  • to activate from your local drive: pub global activate -s path .
  • to activate from git repository: pub global activate -s git git://




  • Dart2 support


  • Add implicit-cast: false support


  • Update dependencies to their latest version
  • doc update


  • Use process_run 0.5.0


  • Initial version

Use this package as an executable

1. Install it

You can install the package from the command line:

$ pub global activate pubglobalupdate

2. Use it

The package has the following executables:

$ pubglobalupdate
Version Uploaded Documentation Archive
0.4.0+2 Aug 10, 2018 Go to the documentation of pubglobalupdate 0.4.0+2 Download pubglobalupdate 0.4.0+2 archive
0.4.0+1 Jul 24, 2018 Go to the documentation of pubglobalupdate 0.4.0+1 Download pubglobalupdate 0.4.0+1 archive
0.4.0 Jul 24, 2018 Go to the documentation of pubglobalupdate 0.4.0 Download pubglobalupdate 0.4.0 archive
0.3.3 Mar 1, 2018 Go to the documentation of pubglobalupdate 0.3.3 Download pubglobalupdate 0.3.3 archive
0.3.2 Oct 25, 2017 Go to the documentation of pubglobalupdate 0.3.2 Download pubglobalupdate 0.3.2 archive
0.3.1 Sep 28, 2016 Go to the documentation of pubglobalupdate 0.3.1 Download pubglobalupdate 0.3.1 archive
0.3.0 Nov 27, 2015 Go to the documentation of pubglobalupdate 0.3.0 Download pubglobalupdate 0.3.0 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7


Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Health suggestions

Fix bin/pubglobalupdate.dart. (-1 points)

Analysis of bin/pubglobalupdate.dart reported 2 hints:

line 56 col 20: 'pubCmd' is deprecated and shouldn't be used.

line 75 col 24: 'pubCmd' is deprecated and shouldn't be used.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use pubglobalupdate.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.58 <3.0.0
args >=1.0.2 <3.0.0 1.5.1
path >=1.6.1 <3.0.0 1.6.2
process_run >=0.6.0 <2.0.0 0.8.0+1
pub_semver >=1.3.2 <3.0.0 1.4.2
Transitive dependencies
collection 1.14.11
Dev dependencies
dev_test >=0.12.0
test any