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.

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.2.0.tar.gz (32.1 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.2.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jetson_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 32.1 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.2.0.tar.gz
Algorithm Hash digest
SHA256 fd28905c57a34742d3e23b1314574d27ad1cf576e91308fb004bef2d8a6f4837
MD5 4b69c0ba0ef7cf2aaf60fa47e6370b12
BLAKE2b-256 842e9fd3b509640f9c258620f25a6ce6516c7d9142ca4234e2adfd1772aef299

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jetson_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa309523b16f56c431072219619de1eb4394f463996af560f34c6b6e1b31aad2
MD5 2370b0008eb90eb279cd659c06f6fe4b
BLAKE2b-256 ea9b4c21a58d1be662a4cbd21e2bbc0a43c02150a3c89b1e791ab2187f1ae5e5

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