إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
Note
dotnetup is in public preview. Its features and behavior might change before general availability.
Name
dotnetup update - Update all tracked SDK and runtime channels.
Synopsis
dotnetup update [options]
Description
The command checks every tracked SDK and runtime specification. It installs a newer matching version when one is available and skips exact-version specifications. It then removes unreferenced files.
The command continues after an individual update failure. It returns a failure after it processes the remaining specifications.
This command doesn't update the dotnetup executable itself. Use
dotnetup self update to update the tool.
Options
| Option | Description |
|---|---|
--update-global-json |
Update applicable global.json-sourced SDK versions. |
--manifest-path <MANIFEST_PATH> |
Use a custom manifest file. |
--install-path <INSTALL_PATH> |
Update only the matching installation root. Without this option, update all roots in the manifest. |
--interactive [<true\|false>] |
Allow update notifications when output isn't redirected. The default is false in CI or when output is redirected, and true otherwise. The update itself doesn't prompt for confirmation. |
--no-progress [<true\|false>] |
Disable progress display. |
-v, --verbosity <normal\|detailed> |
Set output verbosity. The default is normal. |
-?, -h, --help |
Show command help. |
Examples
Update all tracked components:
dotnetup update
Update one installation root and its repository files:
dotnetup update --install-path .\.dotnet --update-global-json