Env
commands interact with the default environment specified in the current global state. Because they require no additional parameters, these commands are useful when creating scripts.
Using the default server specified in the global state, the CheckforUpdates
command determines if the default environment specified in the global state contains any packages for which newer versions have been released. A list of packages with updated versions will be displayed.
Env CheckforUpdates
ndicmd /i /gs Env CheckforUpdates |
The Delete
command completely removes the default environment specified in the global state environment from the system, excluding global packages.
Env Delete
ndicmd /i /gs Env Delete |
The Export
command creates a MegaZarf file from the default environment specified in the global state, at the system directory "C:\Users\<Username>".
Env Export [Name]
ndicmd /i /gs Env Export |
The InstallSelectedReleases
command installs all release versions, that have been selected using a preceding Query
command, to the default environment specified by the global state.
Env InstallSelectedReleases
ndicmd /i /gs Env InstallSelectedReleases |
The RemoveSelectedReleases
command uninstalls all releases that can be uninstalled, that have been selected with a preceding Query
command, in the default environment specified by the global state.
Env RemoveSelectedReleases
ndicmd /i /gs Env RemoveSelectedReleases |
The RollbackSelectedReleases
command performs a rollback operation on all releases, that have been selected with a preceding Query
command, in the default environment specified by the global state.
Env RollbackSelectedReleases
ndicmd /i /gs Env RollbackSelectedReleases |
The Update
command updates packages in the default environment by using packages from the server specified in the global state. A release without a newer version will not be modified.
Env Update
ndicmd /i /gs Env Update |
The UpdateSelectedReleases
command updates all releases, that have been previously selected with a preceding Query
command and in the default default environment specified by the global state, to the latest available version. A release without a newer version will not be modified.
Env UpdateSelectedReleases
ndicmd /i /gs Env UpdateSelectedReleases |
CONFIDENTIAL