Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Top Marks Dart Package ManagerNew to Visual Studio Code? Get it now.
Top Marks Dart Package Manager

Top Marks Dart Package Manager

Preview

Top Marks Development

| (0) | Free
Browse and change the Dart and Flutter dependencies of every pubspec.yaml in a workspace: the versions pubspec.lock records, newer versions, known vulnerabilities, pub workspaces and their members, and each package's details from pub.dev or the repository it comes from. Changes run pub through your
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Top Marks Dart Package Manager

Marketplace version Installs Rating Licence: AGPL-3.0-only

If you like what we do, then a sponsorship, or one time donation would mean the world!

Support us on ko-fi Buy me a coffee PayPal donate button Sponsor through GitHub

Why not join the discord community for devs everywhere: Discord


Like it? Leave a review (please)
Something wrong? Report an issue

Browse, install, update and remove the Dart and Flutter dependencies of every pubspec.yaml in your workspace, through pub.

Project links

  • Getting started
  • Features
  • Requirements
  • Settings
  • Private registries
  • User guide
  • Known limits
  • Security
  • Changelog
  • Licence

[!IMPORTANT]

This extension is in preview. Reading runs nothing. Changes run pub, through your own Dart (or, for a Flutter project, your Flutter SDK's own Dart), in a trusted workspace only. Report problems through GitHub Issues.

Features

  • Installed, Vulnerable, Updates and Consolidate for every pubspec.yaml, with the versions pubspec.lock records.
  • Pub workspaces read as pub reads them, including nested workspaces and pubspec_overrides.yaml; Flutter projects run their Flutter SDK's own Dart.
  • Changes through pub: one dart pub add, upgrade or remove for one package, read back afterwards so every difference is said.
  • Advisories from OSV for pub.dev's packages, and from a repository that serves its own, only in a workspace you trust. A package that could not be checked is named, never shown as safe.
  • Sources shows the default repository, each hosted: address your projects name, and whether a token goes to it.
  • Browse searches the names of pub.dev's most used packages on your machine, so nothing you type is sent.
  • Readable in every built-in theme, with the layout and controls the other managers share.

The user guide describes each tab and every rule in full.

Getting started

  1. Install this extension. The Top Marks Package Managers container in the Activity Bar comes with it.
  2. Open a folder that holds a pubspec.yaml, and open Dart Package Manager in that container.
  3. Browse your packages and their updates from pub.dev (or your PUB_HOSTED_URL) straight away. Other repositories, advisories and changes wait until you trust the workspace: until then nothing is run or changed, and no token is sent.
  4. With only Flutter installed, run flutter once in a terminal so its Dart is in the SDK's cache.

Requirements

  • VS Code 1.116 or later. An older VS Code does not load the extension: it says the extension is not compatible and names the version it requires.
  • Listing projects needs neither Dart nor a network: pubspecs and locks are read by the extension.
  • Changes need Dart 3.6 or later, on your PATH outside the workspace or set below. A Flutter project needs a Flutter SDK whose Dart is in its cache; the flutter launcher is never run.

Settings

Both are machine settings, read from your own settings only; a workspace cannot set them.

Setting Default What it does
topMarksDartPackageManager.dartPath "" The Dart program for a Dart project: an absolute path, or a command name on the PATH. Empty uses dart
topMarksDartPackageManager.flutterSdkPath "" The Flutter SDK folder whose own Dart changes a Flutter project, as an absolute path. Empty uses the SDK of flutter on the PATH

If dart or flutter on your PATH is a version manager's shim, set these to the real program and SDK.

Private registries

In a trusted workspace the view reads the tokens you stored with dart pub token add (pub-tokens.json, or the variable an entry names) and sends one only for a dependency looked up at exactly the address you stored it for (its hosted: address, or the address its lock records), only over https (or to this machine), and never on a redirect. Before you trust the workspace, the file is not read, no token is sent, and only the default repository is asked. The view never adds, removes or changes a token. A change runs pub, which uses your tokens itself; the dialog before every change says so.

Tokens for your own repositories in the user guide has the details.

Part of Top Marks Package Managers

This extension is one of a family of package managers for VS Code that share a layout and a home in the Top Marks Package Managers Activity Bar container. See the suite overview for the rest of the family:

  • NuGet Package Manager
  • JavaScript Package Manager
  • Composer Package Manager
  • Cargo Package Manager
  • Go Package Manager
  • Python Package Manager
  • Maven Package Manager

Licence

Copyright (c) 2026 Top Marks Development Limited. Licensed under GNU Affero General Public License v3.0 only.

The view's icons are Codicons by Microsoft, licensed under CC BY 4.0; the licence ships with the font in media/codicons/.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft