dotnet-new-uninstall(1)
π dotnet-new-uninstall(1) π
okay so bestie, welcome to the manual page for dotnet-new-uninstall, straight out of the .NET Documentation. yes we're doing manpage reading, it's giving study date but make it cute π
β¨ This article applies to: βοΈ .NET 6 SDK and later versions β¨
πΈ NAME πΈ
dotnet-new-uninstall β uninstalls a template package. that's it, that's the job, and it does it flawlessly π
π¦ SYNOPSIS π¦
dotnet new uninstall <PATH|NUGET_ID>
[-d|--diagnostics] [--verbosity <LEVEL>] [-h|--help]
β¨ DESCRIPTION β¨
so the dotnet new uninstall command uninstalls a template package at the PATH or NUGET_ID you hand it. and here's the lil plot twist: when you don't specify the <PATH|NUGET_ID> value, it shows you all the currently installed template packages and their associated templates instead. so it's like a surprise peek at your collection π
when you specify NUGET_ID, do NOT include the version number. literally just the id, no version, we don't do that here.
π°οΈ the .NET 7 SDK glow-up (syntax changes)
starting with the .NET 7 SDK, the dotnet new syntax changed, and honestly it ate:
- the
--list,--search,--install, and--uninstalloptions becamelist,search,install, anduninstallsubcommands. - the
--update-applyoption became theupdatesubcommand. - to use
--update-check, use theupdatesubcommand with the--check-onlyoption.
the other options that were available before are still available to use with their respective subcommands, no worries bestie π«Ά separate help for each subcommand is available via the -h or --help option β so dotnet new <subcommand> --help lists all supported options for the subcommand.
bonus: tab completion is now available for dotnet new π it supports completion for installed template names and for the options a selected template provides. to activate tab completion for the .NET SDK, see Enable tab completion.
πΌ throwback: examples of the OLD syntax
- list the installed templates and details about them, including how to uninstall them:
dotnet new --uninstall
- uninstall the Azure web jobs project template package:
dotnet new --uninstall Microsoft.Azure.WebJobs.ProjectTemplates
π ARGUMENTS π
<PATH|NUGET_ID>β the folder on the file system, or the NuGet package identifier the package was installed from. heads up: the version for the NuGet package should not be specified. just the id, periodt π
π OPTIONS π
-d|--diagnosticsβ enables diagnostic output. available since .NET SDK 7.0.100.-h|--helpβ prints out help for theuninstallcommand. available since .NET SDK 7.0.100.-v|--verbosity <LEVEL>β sets the verbosity level of the command. allowed values areq[uiet],m[inimal],n[ormal], anddiag[nostic]. available since .NET SDK 7.0.100.
π EXAMPLES π
- list the installed templates and details about them, including how to uninstall them:
dotnet new uninstall
- uninstall the SPA templates for ASP.NET Core:
dotnet new uninstall Microsoft.DotNet.Web.Spa.ProjectTemplates
π₯ SEE ALSO π₯
dotnet newcommanddotnet new listcommanddotnet new searchcommand- Custom templates for
dotnet new
and that's the whole page, bestie π§ source: .NET Documentation, version dotnet-new-uninstall(1), dated 2025-10-30. go uninstall something, ily, slay πβ¨
π¦ where this page comes from
- alpine 3.24: dotnet-doc 10.0.303-r2 Β· MIT
- centos-stream 10: dotnet-host 11.0.0~rc.2.26504.105-0.10.el10 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- centos-stream 9: dotnet-host 11.0.0~rc.2.26504.105-0.11.el9 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- fedora 43: dotnet-host 10.0.12-1.fc43
- fedora 43: dotnet-host 11.0.0~rc.1.26425.128-0.10.fc43 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- fedora 44: dotnet-host 10.0.12-1.fc44
- fedora 44: dotnet-host 10.0.4-1.fc44 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- fedora 44: dotnet-host 11.0.0~rc.1.26425.128-0.12.fc44 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- nixpkgs unstable: dotnet-vmr 11.0.0-rc.3
- ubuntu noble: dotnet-host-10.0 10.0.12-0ubuntu1~24.04.1
- ubuntu questing: dotnet-host-10.0 10.0.9-0ubuntu1~25.10.1
- ubuntu resolute: dotnet-host-10.0 10.0.12-0ubuntu1~26.04.1
- ubuntu resolute: dotnet-host-10.0 10.0.5-0ubuntu1 Β· MIT
- ubuntu stonking: dotnet-host-10.0 10.0.12-0ubuntu2 Β· MIT
- ubuntu stonking: dotnet-host-11.0 11.0.0~rc1-0ubuntu1 Β· MIT
- ubuntu stonking: dotnet-host-11.0 11.0.0~rc3-0ubuntu1~26.10.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms