Skip to content

Packages

Matthew Layton edited this page Nov 11, 2026 · 1 revision

Packages

The Packages panel lists what each project in a folder depends on, flags what has a newer version, searches registries, and installs, updates, removes and restores. Studio reads no package manifest of its own: each ecosystem is a plugin, installed from the Plugin Manager under Package Managers (or picked in the setup wizard). Until one is installed the panel has nothing to show. When a folder holds a project a plugin would read, the panel offers that plugin's Install.

For plugin authors, see Package managers.

What to install

Your projects have Install Explore Changes from the panel
package.json (npm, pnpm or Yarn) npm Search the registry and each scoped registry Install, update, remove, restore with the lockfile's tool
*.sln, *.slnx, *.csproj, *.fsproj, *.vbproj NuGet Browse or search each feed, with prereleases Install, update, remove (dotnet add/remove), restore
pyproject.toml, requirements*.txt, setup.cfg, setup.py, Pipfile PyPI Exact-name lookup only (PyPI has no search) uv, Poetry or Pipenv, by what the project uses; pip: restore only
Cargo.toml Cargo Search crates.io (and registries that offer its API) Install, update, remove (cargo add/remove), restore
go.mod, go.work Go modules Exact module-path lookup only (pkg.go.dev has no API) go get to add, update or remove; restore
pom.xml, build.gradle(.kts), libs.versions.toml Maven and Gradle Search Maven Central Restore only (neither tool has an "add a dependency" command)
vcpkg.json vcpkg Search the registry's port names (no descriptions) Install (vcpkg add port), restore
conanfile.txt, conanfile.py Conan Search ConanCenter and your remotes Restore only

A folder can use several at once, for example an npm front end beside a .NET solution. Each project then names the package manager that read it.

Trust

A package manager reads a project's configuration, which names the registries to contact and what to send them, so Studio runs one only in a folder you trust. A repository is asked about when it opens. Any other folder shows Trust this folder in the Packages panel.

Private registries and tokens

Each plugin reads its tool's own configuration first, as the tool would: .npmrc, nuget.config, your pip.conf, .cargo/credentials.toml, ~/.m2/settings.xml, Conan's remotes. For a private registry whose credential isn't there, save a token in Settings › Workspaces › Package Managers. It is encrypted, handed only to the package manager you saved it for, only for that registry, and only over https.

${NPM_TOKEN}-style references in a configuration file are not expanded for a plugin. Save the token in Settings instead.

Registry settings that live only in your shell's environment (GOPRIVATE, GOPROXY, CARGO_HOME, PIP_INDEX_URL) don't reach the plugins yet: #1423. Put them in the tool's own configuration file in the meantime (go env -w, .cargo/config.toml, pip.conf).

Making changes

Update and Remove sit on a package's row, Restore on a project's header, and Install on a search result. When a package manager has several projects in the folder, choose where an install goes in the Explore form. What runs is your own package manager, in a terminal you can watch and stop, and the panel reads the folder again when it ends.

Clone this wiki locally