Jetson Nano Getting Started Notes
page last updated on 1/4/2021
Notes Based on Getting started page from NVIDIA
These notes are ideal for somebody that is familiar with the Raspberry Pi and should be used in conjuntion with the NVIDIA documentation.
SD Card Creation
After downloading the image.
Used the Raspberry Pi Imager to write the SD card image which can be found here:
Select “Use custom” and select JETSON NANO SD CARD IMAGE file and the target SD card.
Configure the operating system
Power up board with the new SD card
Follow the configuration step prompts
Select your language...
Select your timezone...
Configure your user account...
The operating system is ready to go...
Install the "Hello World" example
(this setup is without Docker)
We installed and built the “Hello World” project per the instruction found here:
Run from the command prompt -
- sudo apt-get update
- sudo apt-get install git cmake libpython3-dev python3-numpy
- get clone –recursive https://github.com/dusty-nv/jetson-inference
- cd jetson-inference
- mkdir build
- cd build
- cmake ../
- make -j$(nproc)
- sudo make install
- sudo ldconfig
Some step details...
during the "cmake ../" command the following prompts will allow some selections..
Select models to download, we left the defaults and selected "OK"
Select PyTorch for installation. This is unselected by default...
Select PyTorch, then "OK"
This step takes a while...
Next execute the Make command
Next run the "sudo make install" command
Finally execute the "sudo ldconfig" command
Confirm PyTorch is up and running...
Start python3 (python (2) will not work)
import torch (imports the PyTorch library)
x=torch.rand(5,4) (creates a tensor with random values)
print(x) (prints the tensor)
The basic PyTorch XOR example should also run.
You should have a basic Jetson Nano system up and running.