Skip to content
  • English Deutsch

benjamin-abt.com

Performance is a feature | Cloud - AI - Azure - .NET - Sustainability

  • Home
  • Blog
  • Portfolio
    • Overview
    • Workshops & Training
    • Publications
  • Contact
  • Home
  • Blog

Check for .NET NuGet Updates via dotnet outdated cli tool

Check for .NET NuGet Updates via dotnet outdated cli tool
December 4, 2021 2 min read BEN ABT
.NET Nuget

This article was written in 2021. Versions, tools and recommendations may have changed since then. Newer posts are collected under .NET.

.NET now has a very powerful CLI that can also handle NuGet packages very well. But one important feature is missing: check if there are package updates.

Thanks to the .NET tool dotnet outdated , developed by JerrieP and the open source community, this is still possible - even if I think this should be part of the vanilla CLI.

Installation

The tool can be installed either globally on a computer or on project level. I am a big fan of local instead of global installations. Thus, the tool is part of the solution and every developer always has the tool.

dotnet tool install dotnet-outdated-tool or as global dotnet tool install --global dotnet-outdated-tool

Usage

The tool works both with one project, but also with a complete solution and many projects.

For this purpose, only the command XX must be executed in the respective directory, then the following output appears, for example

Shell
 1PS C:\source\MyCSharp\MyCSharpNET> dotnet outdated
 2> MyCSharp.Portal.WebApp
 3  [net6.0]
 4  Microsoft.CodeAnalysis.Common                          4.0.0  -> 4.0.1
 5  Microsoft.CodeAnalysis.CSharp                          4.0.0  -> 4.0.1
 6  Microsoft.VisualStudio.Azure.Containers.Tools.Targets  1.14.0 ->
 7
 8Errors occurred while analyzing dependencies for some of your projects. Are you sure you can connect to all your configured NuGet servers?
 9
10Unable to find DOTNET_HOST_PATH environment variable. If you use credential providers for your NuGet sources you need to have this set to the path to the `dotnet` executable.
11
12Version color legend:
13<red>   : Major version update or pre-release version. Possible breaking changes.
14<yellow>: Minor version update. Backwards-compatible features added.
15<green> : Patch version update. Backwards-compatible bug fixes.
16
17You can upgrade packages to the latest version by passing the -u or -u:prompt option.
18Elapsed: 00:00:10.5041871

As you can see, this works great with public packages, but it doesn’t seem to work perfectly with private packages yet. In my case it seems to have a problem with linking certain packages directly via the file system instead of using a NuGet server.

But it’s a definite improvement in handling NuGet package information, because the current NuGet view in Visual Studio is way too slow. But it’s a definite relief when dealing with NuGet package information, because the current NuGet view in Visual Studio is way too slow.

Related articles

How to migrate .NET versioning from x.x.x.x to SemVer

Jul 5, 2026 - 7 min read

How to migrate .NET versioning from x.x.x.x to SemVer

Many long-lived .NET repositories did not start with semantic versioning. They grew up with major.minor.build.revision, often set in …

Modern versioning for .NET apps and libraries and how to produce idempotent artifacts

Jun 26, 2026 - 9 min read

Modern versioning for .NET apps and libraries and how to produce idempotent artifacts

Versioning stays invisible right up to the point when it fails. A package has to be reissued, a support case depends on one exact binary or …

.NET NuGet Trusted Publishing with GitHub Actions

Mar 10, 2026 - 15 min read

.NET NuGet Trusted Publishing with GitHub Actions

Publishing NuGet packages has traditionally required one uncomfortable compromise: a long-lived API key had to exist somewhere in the …


BEN ABT

BEN ABT

Ben is Chief Engineering Officer and Principal Software Engineer at Medialesson.de, with a strong focus on .NET and Microsoft Azure. In his professional role, he designs and builds highly scalable platforms for hybrid and cloud-based scenarios. He also advises companies and C-levels on migrating to the sovereign cloud.

He runs myCSharp.de, the largest and most active German-speaking C# community forum, actively contributes to both his own and external open-source projects and regularly shares his knowledge through his blog, at community events, conferences and as a writer for technical magazines.

Let's Work Together

Looking for an experienced Platform Architect or Engineer for your next project? Whether it's cloud migration, platform modernization or building new solutions from scratch - I'm here to help you succeed.

New Platforms

Modernization

Training & Consulting

Contact Me
X Facebook LinkedIn WhatsApp
Back Next Blog Post

Open for work!

Contact Me
BEN ABT BEN ABT Software Engineer · Microsoft MVP Passionate about .NET, Azure, performance optimization and sustainable software engineering.

Medialesson GmbH Logo

Microsoft MVP Logo

Recent posts

View all
Stop Using nginx as Your Default Static File Server in Docker

Stop Using nginx as Your Default Static File Server in …

Oct 24, 2026
Containerizing .NET in 2026 Without a Dockerfile

Containerizing .NET in 2026 Without a Dockerfile

Oct 20, 2026
Problem Details in ASP.NET Core and .NET 11

Problem Details in ASP.NET Core and .NET 11

Oct 5, 2026
Resilience in .NET with Microsoft.Extensions.Resilience

Resilience in .NET with Microsoft.Extensions.Resilience

Sep 21, 2026
What Matters in ASP.NET Core 11

What Matters in ASP.NET Core 11

Sep 14, 2026

Tags

.NET (192) Csharp (96) ASP.NET Core (48) Azure (41) DevOps (17) Docker (14) Microsoft (14) EF Core (11) Microsoft MVP (11) AI (10) GitHub (10) GitHub Copilot (10) ASP.NET (9) Security (9) Synology (9) Architecture (8) Raspberry (8) Azure Functions (7) Cloudflare (7) Bicep (6)
benjamin-abt.com

About BEN

Benjamin Abt is a Software Engineer, Platform Architect and Microsoft MVP specializing in .NET, Azure, cloud architecture, performance optimization and sustainable software development.

Connect

  • Follow me on GitHub
  • Follow me on LinkedIn
  • Follow me on Mastodon
  • Microsoft MVP profile
  • Follow SchwabenCode on GitHub
  • Follow me on X

Quick Links

  • Portfolio
  • Blog
  • Workshops & Training
  • Publications
  • Get in Touch
  • Sitemap
Open for Work

© Copyright Benjamin Abt & SchwabenCode | 2011 - 2026

Content licensed under CC BY 4.0 unless otherwise noted.

  • Impressum
  • Privacy
  • Contact