หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
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.
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>] |
The current parser accepts this option. The current update handler does not use it. |
--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