Edit

dotnetup env show command

Note

dotnetup is in public preview. Its features and behavior might change before general availability.

Name

dotnetup env show - Show environment settings and report detected drift.

Synopsis

dotnetup env show [options]

Description

The command displays the stored .NET access mode and dotnetup PATH setting. It compares the stored configuration with the selected shell profile and persisted environment. It also reports whether the current process has the requested settings.

If the configuration has drifted, run dotnetup env set to reapply it.

For more information about access modes, see dotnetup environment configuration.

Options

Option Description
-s, --shell [<bash\|zsh\|fish\|pwsh>] Select the profile shell to inspect. If omitted, detect the current shell.
-?, -h, --help Show command help.

Example

dotnetup env show --shell zsh