@serve.zone/moxytool

a cli tool designed for management of proxmox environments

readme.md for @serve.zone/moxytool

Proxmox Administration Tool for vGPU setup, VM management, and cluster configuration

npm version License: MIT

Overview

MOXYTOOL is a comprehensive command-line tool for managing Proxmox servers, with a focus on simplified vGPU setup and advanced server configuration. Built with Deno and compiled to native binaries for maximum performance and portability.

Features

Installation

One-Line Installation (Recommended)

# Download and install MOXYTOOL automatically
curl -sSL https://code.foss.global/serve.zone/moxytool/raw/branch/main/install.sh | sudo bash

This will:

Via npm (Alternative)

Install globally using npm:

npm install -g @serve.zone/moxytool

or with pnpm:

pnpm install -g @serve.zone/moxytool

Benefits:

Usage

Updating MOXYTOOL

Update to the latest version from the repository:

moxytool update

This command will:

vGPU Setup

Install and configure NVIDIA vGPU support on your Proxmox host:

sudo moxytool vgpu-setup

Arguments

Examples

# Basic setup with interactive prompts
sudo moxytool vgpu-setup

# Use a custom driver URL
sudo moxytool vgpu-setup --url https://example.com/driver.run

# Use a local driver file
sudo moxytool vgpu-setup --file /path/to/driver.run

# Resume at a specific step
sudo moxytool vgpu-setup --step 2

# Debug mode
sudo moxytool vgpu-setup --debug

Installation Process

  1. Prerequisites: Ensure virtualization is enabled in BIOS (Intel Vt-d or AMD IOMMU)
  2. Run Setup: Execute sudo moxytool vgpu-setup
  3. Follow Prompts: The installer will guide you through the process
  4. Reboot: System will require a reboot after initial setup
  5. Complete Setup: Run the command again after reboot to finish installation
  6. Verify: Check installation with mdevctl types

Post-Installation

After successful installation:

  1. Verify vGPU profiles: mdevctl types
  2. Configure VMs: Add vGPU devices in Proxmox web UI (VM → Hardware → Add → PCI Device)
  3. Install guest drivers: Download and install NVIDIA vGPU guest drivers in your VMs

Community Scripts

Access and deploy 400+ community-maintained Proxmox installation scripts:

# List all available scripts
moxytool scripts list

# Search for specific applications
moxytool scripts search docker
moxytool scripts search homeassistant

# View detailed information
moxytool scripts info docker

# Install a script
sudo moxytool scripts run docker

# Refresh the script index
moxytool scripts refresh

Features:

Script Categories:

Requirements

Note: The tool comes as a pre-compiled binary - no runtime dependencies needed!

Supported Platforms

Development

Note: Development requires Deno. End users don't need Deno - they use pre-compiled binaries.

Prerequisites

Building from Source

# Clone the repository
git clone https://code.foss.global/serve.zone/moxytool.git
cd moxytool

# Run locally with Deno
deno task dev

# Compile binaries for all platforms
deno task compile:all

# Run tests
deno task test

Project Structure

moxytool/
├── mod.ts                      # Main entry point
├── deno.json                   # Deno configuration
├── package.json                # NPM package manifest
├── ts/                         # TypeScript source files
│   ├── moxytool.cli.ts        # CLI command definitions
│   ├── moxytool.plugins.ts    # Plugin imports
│   ├── moxytool.logging.ts    # Logging setup
│   ├── moxytool.paths.ts      # Path definitions
│   └── index.ts               # Node.js entry point
├── bin/                        # Binary wrapper
│   └── moxytool-wrapper.js    # NPM binary wrapper
├── scripts/                    # Build scripts
│   ├── compile-all.sh         # Compilation script
│   └── install-binary.js      # Binary installation
└── dist/                       # Compiled binaries
    └── binaries/

Credits

MOXYTOOL uses the excellent proxmox-vgpu-installer by anomixer for the core vGPU installation process, which supports Proxmox v9.

License

MIT License - see LICENSE file for details

Support


Made with ❤️ by Serve Zone

changelog.md for @serve.zone/moxytool

2025-10-29 - 1.5.1 - fix(scriptindex)

Improve script search: use ObjectSorter with weighted results prioritizing slug and name

2025-10-29 - 1.5.0 - feat(scripts)

Add fuzzy search and type filtering for community scripts; improve scripts CLI output and cache handling

2025-10-28 - 1.4.2 - fix(scriptindex)

Handle missing script metadata fields in ScriptIndex.search to prevent crashes

2025-10-28 - 1.4.1 - fix(cli)

Fallback to 'unknown' when script.slug is missing in scripts list

2025-10-28 - 1.4.0 - feat(cli)

Improve CLI output and logging with colored header, grouped script listings, and ANSI-styled logger

2025-10-28 - 1.3.6 - fix(deps)

Bump smartcli dependency and add local settings file

2025-10-28 - 1.3.5 - fix(smartcli)

Bump @push.rocks/smartcli to ^4.0.18 and add local settings file for tooling permissions

2025-10-28 - 1.3.4 - fix(smartcli)

Update @push.rocks/smartcli to ^4.0.16 and add local Claude settings

2025-10-28 - 1.3.3 - fix(deno.json)

Bump @push.rocks/smartcli to ^4.0.15 and add local Claude settings

2025-10-28 - 1.3.2 - fix(cli)

Correct scripts subcommand argument parsing and bump smartcli dependency

2025-10-27 - 1.3.1 - fix(publish)

Switch publish registry to internal Verdaccio instance and add local CI settings

2025-10-27 - 1.3.0 - feat(cli)

Add automatic update command and documentation updates

2025-10-27 - 1.2.0 - feat(scripts)

Add community scripts subsystem: script index, runner, and CLI commands with background refresh; update docs and paths

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.1.0 - 2025-01-27

Added

Features

Changed

1.0.0 - 2025-01-24

Added

Features