Release Date: 2025-12-29
Previous Version: v0.2.0-alpha.14
This release introduces self-management capabilities to the nanx CLI tool, allowing users to update, rollback, check status, and uninstall nanx directly from the command line. Additionally, the installer infrastructure has been consolidated and improved for better cross-shell compatibility.
Features
Self-Management Command System
- New
nanx selfcommand module: Added comprehensive self-management functionality to the nanx CLI (libs/nanions/src/nanx/self_cmd)
nanx self update: Implements automatic version checking and binary update functionality. The command checks for the latest version, downloads the appropriate binary for the current platform, and replaces the existing installation
- nanx self rollback: Provides rollback capability to revert to a previous version in case of issues with an update
- nanx self status: Displays current installation status including version information and installation path
- nanx self uninstall: Safely removes nanx from the system, cleaning up binaries and configuration files
- All subcommands include proper error handling and user feedback mechanisms
Technical Changes
Installer Consolidation and Portability Improvements
- Consolidated installation scripts: Merged installation logic from
apps/nanx/install.shintoapps/nanx-installer/install.sh, eliminating duplicate code and creating a single source of truth for the installation process - Improved shell compatibility: Replaced
echocommands withprintfthroughout the installer script for better POSIX shell portability and consistent behavior across different shell environments (bash, zsh, sh) - Removed legacy installer: Deleted the redundant
apps/nanx/install.shscript as part of the consolidation effort
Release Management
- Version bump: Released v0.2.0-alpha.15 with updated package metadata and version tags
Statistics
| Metric | Value |
|---|
| Commits | 3 |
|---|---|
| Files Changed | 2 |
| Lines | +21 / -1 |
| Issues Closed | 0 |
Contributors
| Name | Commits | Lines |
|---|
| VivinMeth ([email protected]) | 3 | +0 / -0 |
|---|