Skip to main content

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

  1. Analyze your system:

    jetson-cli probe
    
  2. Initialize environment:

    jetson-cli init
    
  3. 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

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jetson_cli-0.5.0.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jetson_cli-0.5.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file jetson_cli-0.5.0.tar.gz.

File metadata

  • Download URL: jetson_cli-0.5.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

Hashes for jetson_cli-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0347dd8c71abbde67beb64ec3117c39ed55495d0b07bcb3afb43b9093f902677
MD5 a143014f0615ddd62a5f9794749b467e
BLAKE2b-256 fa29a80e0c6e0ed4fad70c0236036687627e364a90d3ac5702c161232253af15

See more details on using hashes here.

File details

Details for the file jetson_cli-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: jetson_cli-0.5.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

Hashes for jetson_cli-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6beaacb75b27fb590dd437771506aa681c437680d6eeb7fe9ff0041558f18df
MD5 bc5e2259abd0f642bb04ddca6da5e68b
BLAKE2b-256 ebfcfcb489b214c978203e43f4398f103260f5d4c2409006686aacae04c2bd80

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page