Install with the Command Line

To run NVIDIA SDK Manager from a terminal in Linux, do the following: 

  1. Download and run SDK Manager on your host machine.

  2. Launch SDK Manager from terminal, using the parameters below to run an installation from the command line.

 Note: 

Flashing a Jetson device from the command line is supported only if it has been pre-set to recovery mode.

Note that if a Jetson device is flashed from the command line, software components are not installed on the device after flash.

Command-Line Syntax

Mandatory Settings

Parameter

Description

--cli install|uninstall|update

Silent mode option. This allows SDK Manager to run install, uninstall, or update without displaying a user interface.

--product product_name

Set the product to be installed in silent mode.

Example: 

--product DRIVE

OR

--product Jetson

--host

This parameter specifies that the host side components need to be installed.

--targetos target_os

Set the target OS.

Example: 

--targetos Linux

--version version#

DRIVE: Set the version of product to be installed or uninstalled. The version contains: version, SDK/PDK, edition and build number, separated by '_'.

Example:

--version OS_5.1.3.0_SDK
Jetson: Set the version of product to be installed or uninstalled.

Example:

--version 4.2

--user user_email

Set the user email to login.

CLI login supports users with either partners.nvidia.com or developer.nvidia.com accounts.

--logintype login_server

Set the login server (nvonline or devzone).

Default is nvonline.

--flash a|b|ab|all|skip

Set the flashing mode (a, b, ab, all or skip).

All refers to all Tegras available on the target hardware. Default is all.

Optional Settings

Parameter

Description

--view none|live|log

This option allows you to view the silent install while it is in process, output to a log file, or turn off viewing the install completely. Default value is live.

--target target_hardware

Add this option if components for the specified target hardware need to be installed.

DRIVE example:

--target DDPX

Jetson example:

--target P3448

--versionfile string

Use this option when you know which version you want to install, and have the path to the file describing it. This information is provided by your NVIDIA account manager or representative.

Example:

--versionfile link_to_version_json_file

--offline

This option allows you to skip logging into your NVIDIA account, and instead installs DRIVE/Jetson software offline.

DRIVE example:

--offline --versionfile link_to_version_json_file --host --target DDPX

Jetson example:

--offline --versionfile link_to_version_json_file --host --target P3448

--downloadfolder

This option allows you to set the download folder for the files. For offline install, use this option to specify where the downloaded components should be stored.

Example:

--downloadfolder /my-mounted-drive/Shared/nvidia/sdk-manager

--license accept|refuse

Set this option to accept or refuse the NVIDIA software licenses.

--query

Prints all options available for the user. Must be executed with the --user setting, or with --offline.

Example:

--query --user john.doe@example.com
--query --offline --downloadfolder /my-mounted drive/Shared/nvidia/sdk-manager

--logs

Exports the log files when the install process is complete.

-h, --help

Displays this usage guide.

Example

$ sdkmanager [--cli install|uninstall] [cli options] ... 
$ sdkmanager [--cli update]
$ sdkmanager [--help]

For example, to install DRIVE 5.1.0.0 Linux via the command line, use the following:

 ./sdkmanager --cli install --user john.doe@example.com --logintype nvonline
--product DRIVE --version OS_5.1.0.0_SDK --targetos Linux
--host --target DDPX --flash all 

Meanwhile, a Jetson 4.2 example would be:

./sdkmanager --cli install --user john.doe@example.com --logintype devzone
--product Jetson --version 4.2 --targetos Linux --host 
--target P2888 --flash all  

 

 

Notices

Notice

THE INFORMATION IN THIS GUIDE AND ALL OTHER INFORMATION CONTAINED IN NVIDIA DOCUMENTATION REFERENCED IN THIS GUIDE IS PROVIDED “AS IS.” NVIDIA MAKES NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO THE INFORMATION FOR THE PRODUCT, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. Notwithstanding any damages that customer might incur for any reason whatsoever, NVIDIA’s aggregate and cumulative liability towards customer for the product described in this guide shall be limited in accordance with the NVIDIA terms and conditions of sale for the product.

THE NVIDIA PRODUCT DESCRIBED IN THIS GUIDE IS NOT FAULT TOLERANT AND IS NOT DESIGNED, MANUFACTURED OR INTENDED FOR USE IN CONNECTION WITH THE DESIGN, CONSTRUCTION, MAINTENANCE, AND/OR OPERATION OF ANY SYSTEM WHERE THE USE OR A FAILURE OF SUCH SYSTEM COULD RESULT IN A SITUATION THAT THREATENS THE SAFETY OF HUMAN LIFE OR SEVERE PHYSICAL HARM OR PROPERTY DAMAGE (INCLUDING, FOR EXAMPLE, USE IN CONNECTION WITH ANY NUCLEAR, AVIONICS, LIFE SUPPORT OR OTHER LIFE CRITICAL APPLICATION). NVIDIA EXPRESSLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR SUCH HIGH RISK USES. NVIDIA SHALL NOT BE LIABLE TO CUSTOMER OR ANY THIRD PARTY, IN WHOLE OR IN PART, FOR ANY CLAIMS OR DAMAGES ARISING FROM SUCH HIGH RISK USES.

NVIDIA makes no representation or warranty that the product described in this guide will be suitable for any specified use without further testing or modification. Testing of all parameters of each product is not necessarily performed by NVIDIA. It is customer’s sole responsibility to ensure the product is suitable and fit for the application planned by customer and to do the necessary testing for the application in order to avoid a default of the application or the product. Weaknesses in customer’s product designs may affect the quality and reliability of the NVIDIA product and may result in additional or different conditions and/or requirements beyond those contained in this guide. NVIDIA does not accept any liability related to any default, damage, costs or problem which may be based on or attributable to: (i) the use of the NVIDIA product in any manner that is contrary to this guide, or (ii) customer product designs.

Other than the right for customer to use the information in this guide with the product, no other license, either expressed or implied, is hereby granted by NVIDIA under this guide. Reproduction of information in this guide is permissible only if reproduction is approved by NVIDIA in writing, is reproduced without alteration, and is accompanied by all associated conditions, limitations, and notices.

Trademarks

NVIDIA, the NVIDIA logo, and CUDA, cuDNN, Jetson, Kepler, Maxwell, Nsight Graphics, Nsight Systems, PerfWorks, Pascal, SDK Manager, Tegra, TensorRT, Tesla, and Volta are trademarks and/or registered trademarks of NVIDIA Corporation in the Unites States and other countries. Other company and product names may be trademarks of the respective companies with which they are associated.