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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jetson_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 32.3 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.3.0.tar.gz
Algorithm Hash digest
SHA256 31f10a87e2d55263868edb56184ee056be9f4be09b7e86a6e3058abc899c92f2
MD5 e842cba94f0021e0477bd84eeae91649
BLAKE2b-256 63d2577ce0dabbb4c5b97cbd3cafa0226ef9c6918228eecb96fdaa6a6ad0fc4b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jetson_cli-0.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69b54c7fd3a0b5f6699d29f72e9c68946a0876522cbea48a26e8fe6c48931827
MD5 c7a87f6dc445d83b99227b071c8e038d
BLAKE2b-256 0d4c0d9aed8ef1a12d41cfc6b6dd74a05088be46754cc1a396f3775a38107ec9

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