3.7 NGC CLI on hosts
Installing the NGC command line tool and authenticating it with an API key.
Key points
The NGC CLI is NVIDIA's command-line tool for the NGC catalog of containers and models. NVIDIA's examples authenticate it with an NGC API key: run 'ngc config set' and paste the key at the API_KEY prompt.
What NVIDIA says (2)
“Here are some examples of using NGC API keys to authenticate with NGC CLI and Docker CLI”
“ngc config set Paste your key value at the API_KEY prompt”
The NGC CLI is NVIDIA's command-line tool for the NGC catalog of containers and models. NVIDIA recommends always running the latest version for new features, bug fixes and security updates. The CLI can list its own releases and upgrade itself; the NGC CLI Installers page also has the downloads.
What NVIDIA says (2)
“Always use the latest NGC CLI version to access the newest features, bug fixes, performance improvements, and security updates.”
“or run ngc version list to view the latest releases, then upgrade using the following command: ngc version upgrade”
Key terms
- NGC: NVIDIA's catalog and registry of GPU software, reached with the NGC CLI and an API key.
Sample question
After installing the NGC CLI on a host, how do you authenticate it, according to NVIDIA's NGC documentation?
Show the answer
Answer: Run 'ngc config set' and paste your NGC API key at the prompt.
The NGC CLI is NVIDIA's command-line tool for the NGC catalog of containers and models. NVIDIA's examples authenticate it with an NGC API key: run 'ngc config set' and paste the key at the API_KEY prompt.
What NVIDIA says (2)
“Here are some examples of using NGC API keys to authenticate with NGC CLI and Docker CLI”
“ngc config set Paste your key value at the API_KEY prompt”
Practice 3.7 (2 questions) Full Control Plane Installation and Configuration guide