How do I add a pub to my path?

To run a script directly from the command line, add the system cache bin directory to your PATH environment variable. … Running a script from your PATH. PlatformCache locationmacOS or Linux$HOME/.pub-cache/binWindows*%LOCALAPPDATA%\Pub\Cache\bindart pub global dart.dev › tools › pub › cmd › pub-global

Read more

What is pub tool?

Pub is the package manager for the Dart programming language, containing reusable libraries & packages for Flutter, AngularDart, and general Dart programs . Some basic command: Use pub get to get dependencies. Use pub upgrade to upgrade a dependency.

Read more