หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Note
dotnetup is in public preview. Its features and behavior might change before general availability.
Name
dotnetup env clear - Remove all dotnetup environment wiring.
Synopsis
dotnetup env clear [options]
Description
The command removes managed PATH and DOTNET_ROOT changes and stores the
none access mode with dotnetup removed from PATH. It is equivalent to:
dotnetup env set none --dotnetup-on-path false
It does not uninstall .NET.
For more information about access modes, see dotnetup environment configuration.
Options
| Option | Description |
|---|---|
-s, --shell [<bash\|zsh\|fish\|pwsh>] |
Select the profile shell to update. If omitted, detect the current shell. |
-?, -h, --help |
Show command help. |
Example
dotnetup env clear --shell pwsh