Skip to content

uninstall - Complete Nixopus Removal

The uninstall command completely removes Nixopus from your system. This is a destructive operation that permanently removes all Nixopus components.

Quick Start

bash
# Standard uninstallation
nixopus uninstall

# Preview what will be removed
nixopus uninstall --dry-run --verbose

# Force uninstallation without prompts
nixopus uninstall --force

Overview

The uninstall command completely removes Nixopus from your system including services, configuration files, and data.

Command Syntax

bash
nixopus uninstall [OPTIONS]
OptionShortDescriptionDefault
--verbose-vShow detailed uninstallation progressfalse
--timeout-tOperation timeout in seconds300
--dry-run-dPreview what would be removed without executingfalse
--force-fSkip confirmation prompts and force removalfalse

Examples:

bash
# Interactive uninstallation
nixopus uninstall

# Preview uninstallation
nixopus uninstall --dry-run --verbose

# Force uninstallation without prompts
nixopus uninstall --force

# Custom timeout
nixopus uninstall --timeout 600 --verbose

Configuration

The uninstall command does not use external configuration files. It operates with hardcoded default values.

Default Configuration Values

SettingDefault ValueDescription
Timeout300 secondsMaximum time to wait for each uninstallation step
VerbosefalseShow detailed logging during uninstallation
Dry RunfalsePreview mode without making actual changes
ForcefalseSkip confirmation prompts

Overriding Configuration

You can override defaults using command-line options:

bash
# Use custom timeout
nixopus uninstall --timeout 600

# Enable verbose logging
nixopus uninstall --verbose

# Preview without changes
nixopus uninstall --dry-run

# Force uninstall without prompts
nixopus uninstall --force

Error Handling

Common error scenarios and solutions:

ErrorCauseSolution
Permission deniedInsufficient file system permissionsUse sudo nixopus uninstall
Services still runningDocker containers won't stopForce stop with docker stop command
Files in useConfiguration files lockedClose applications using Nixopus files
Timeout exceededUninstall taking too longIncrease timeout with --timeout option

If permission issues occur, use sudo:

bash
sudo nixopus uninstall --verbose
  • service - Stop services before uninstalling
  • conf - Backup configuration before removal

Made with love
Released under the Functional Source License (FSL)