Command-line interface for NVIDIA Jetson setup and configuration
Project description
jetson-cli
A comprehensive CLI tool for setting up NVIDIA Jetson devices and building containerized AI/ML applications using the jetson-containers framework.
Task list
- Best practices compliation for jetson for humans and AI
- tools
- commands
- configurations
- docker images backup and restore scripts
- GenAI integration on device, local or remote
- Model inference setup recommendations
- jetson-containers Package suite recommendations
Overview
jetson-cli provides a streamlined interface for:
- Analyzing and configuring Jetson hardware
- Setting up development environments
- Building and running containerized AI/ML applications
- Managing the jetson-containers ecosystem
Installation
From PyPI (Recommended)
pip install jetson-cli
From Source
git clone https://github.com/orinachum/jetson-cli.git
cd jetson-cli
pip install -e .
Quick Start
-
Analyze your system:
jetson-cli probe -
Initialize environment:
jetson-cli init -
Complete setup:
jetson-cli setup
Commands
System Analysis
jetson-cli probe # Show system configuration
jetson-cli probe --output json # Output as JSON
jetson-cli probe --save config.yaml # Save to file
Environment Setup
jetson-cli init # Create environment profile
jetson-cli init --profile-name dev # Custom profile name
jetson-cli init --force # Overwrite existing profile
System Configuration
jetson-cli setup # Complete system setup
jetson-cli setup --skip-docker # Skip Docker configuration
jetson-cli setup --interactive # Interactive mode
Component Management
jetson-cli configure docker # Configure Docker daemon
jetson-cli configure swap # Setup swap file
jetson-cli configure ssd # Configure SSD storage
jetson-cli configure power # Power management settings
jetson-cli configure gui # GUI environment setup
Status Monitoring
jetson-cli status # Show system status
jetson-cli status --format json # JSON output format
jetson-containers Integration
This tool integrates with the jetson-containers framework to provide containerized AI/ML packages:
Container Building
# After jetson-cli setup, use jetson-containers directly
jetson-containers build pytorch # Build PyTorch container
jetson-containers build pytorch jupyterlab # Chain multiple packages
jetson-containers build --name=my_app pytorch # Custom container name
Available Packages
- ML/AI: PyTorch, TensorFlow, ONNX Runtime, transformers
- LLM: SGLang, vLLM, MLC, text-generation-webui, ollama
- VLM: LLaVA, VILA, NanoLLM (vision-language models)
- Robotics: ROS, Genesis, OpenVLA, LeRobot
- Computer Vision: NanoOWL, SAM, CLIP, DeepStream
- Graphics: Stable Diffusion, ComfyUI, NeRF Studio
Running Containers
jetson-containers run $(autotag l4t-pytorch)
Examples
Complete Jetson Setup Workflow
# 1. Analyze hardware and software configuration
jetson-cli probe --save system-info.yaml
# 2. Create development environment profile
jetson-cli init --profile-name ml-dev
# 3. Configure the system for AI/ML development
jetson-cli setup
# 4. Verify everything is working
jetson-cli status
# 5. Build and run your first container
jetson-containers build pytorch
jetson-containers run $(autotag l4t-pytorch)
Selective Component Configuration
# Configure only Docker (skip other components)
jetson-cli configure docker
# Setup additional swap space
jetson-cli configure swap
# Configure external SSD storage
jetson-cli configure ssd
Architecture
- CLI Interface (
jetson_cli/): User-friendly Click-based commands - System Scripts (
scripts/): Low-level system configuration scripts - Container Framework (
jetson-containers/): Modular container build system - Package Ecosystem: 100+ pre-built AI/ML container packages
Requirements
- NVIDIA Jetson device (Nano, Xavier, Orin series)
- JetPack 4.6+ or L4T R32.7+
- Python 3.6+
- Docker support
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jetson_cli-0.6.0.tar.gz.
File metadata
- Download URL: jetson_cli-0.6.0.tar.gz
- Upload date:
- Size: 33.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7899d247492b742b7f2b2faedbf64d27529d630557867aba60acee32f6e17db
|
|
| MD5 |
21959886e4c99943c458045a749b5f3f
|
|
| BLAKE2b-256 |
b07b1f56721c9d77ec70401ee36be438e78aea3ca06cb247bd5bc16942634077
|
File details
Details for the file jetson_cli-0.6.0-py3-none-any.whl.
File metadata
- Download URL: jetson_cli-0.6.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc62200a79661104eb51f7f8f0b19d63f966d5219f1347c19063e4c102969a95
|
|
| MD5 |
ee6fb1909dfa0ca1197fdc377641714f
|
|
| BLAKE2b-256 |
9921b03409f85cbac7d98e6089bb6498c1386c6f2f80fceb7bbd99ad8d4aad7f
|