A. Transfer the NGC CLI package to the host and install it using ‘pip install .whl’.
B. Configure the NGC CLI to point to your local package repository by setting the environment variable.
C. Manually download and install all dependencies of the NGC CLI package using ‘pip install --no-index --find-links=/path/to/dependencies .whl’.
D. Run ‘ngc config set’ to configure the API key, pointing to a local configuration file.
E. Only copying the whl file is sufficient, NGC CLI dependencies are always local
Explanation:
In an offline environment, you need to install the package locally (A), configure the CLI to know where to find the package (B), manually install dependencies (C), and configure the API key (D).
Option E is wrong because dependencies must be handled manually in the offline environment.