Muistiinpano
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoa.
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoa.
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