m-ringler.CpmUpdateTool 0.1.0

This package has a SemVer 2.0.0 package version: 0.1.0+22370386621.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global m-ringler.CpmUpdateTool --version 0.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local m-ringler.CpmUpdateTool --version 0.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=m-ringler.CpmUpdateTool&version=0.1.0
                    
nuke :add-package m-ringler.CpmUpdateTool --version 0.1.0
                    

CpmUpdate

CpmUpdate is a small command‑line utility that inspects a .NET folder's Directory.Packages.props file and updates NuGet package versions to the latest available release using dotnet CLI commands.

Features

  • Lists outdated top‑level NuGet package references in projects under the current directory.
  • Optionally includes prerelease versions when checking for updates.
  • Prompts interactively for each upgrade, or can run non‑interactively with --yes.
  • Abstracts filesystem and console operations to ease testing.
  • Extensible through ICmdRunner for custom command execution.

Building

cd /path/to/CpmUpdate
# restore and build everything
dotnet build

Formatting

We use CSharpier to keep code style consistent:

csharpier format .

Installation

dotnet tool install m-ringler.CpmUpdateTool

Usage

Run the tool from a directory containing Directory.Packages.props (typically the repo root):

dotnet update-cpm [options]

Options

  • -y, --yes — update all packages without asking.
  • --include-prerelease — consider prerelease package versions when checking for updates.
  • --help — display help text.

Example

# interactive check with prompts
cd /my/solution
dotnet update-cpm --include-prerelease

# non-interactive run, accept everything
dotnet update-cpm -y

License

This project is provided under the MIT License. See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.1.4 31 6/19/2026
0.1.3 38 5/24/2026
0.1.2 52 4/20/2026
0.1.1 61 2/24/2026
0.1.0 50 2/24/2026