EditEnv 0.1.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global EditEnv --version 0.1.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local EditEnv --version 0.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=EditEnv&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package EditEnv --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Github: https://github.com/BlackBoxRecorder/EditEnv
A command line tool to edit Edit environment variable.
Install
If you have .Net SDK installed on your computer, you can install EditEnv by dotnet tool:
dotnet tool install EditEnv --global
or, download the EditEnv.exe , add it's directory to user Path environment variable.
Usage
Set user environment variable key value pair
EditEnv set test -v 123
EditEnv set test -v 123456
The Variable key [test] is exist, will you update it? (y/n) y
Set :test = 123456
Get user environment variable by key
EditEnv get test
Remove user environment variable by key
EditEnv remove test
Add directory to PATH
EditEnv path add -v D:\code\vsproject\EditEnv
EditEnv path add -v "C:\Program Files\ContextMenuTools\ImageProcess"
EditEnv set test -v 123 --target machine
The Variable key [test] is exist, will you update it? (y/n) y
Set :test = 123
EditEnv remove test --target machine
Remove directory from PATH
EditEnv path remove -v D:\code\vsproject\EditEnv
List all directory in PATH
EditEnv path list
To modify system environment variables, you need to open the terminal with administrator privileges.
EditEnv set test -v 123 --target machine
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.