Usage

NexPanel ships with a CLI for administrative tasks that do not need the panel interface. Password resets, user management, version checks, and other maintenance work can all be done from the terminal.

Running Commands

nexpanel <command> [flags]

For example:

nexpanel version
nexpanel user list

Run as root or with sudo. The CLI needs access to the panel database and configuration files, which live in /opt/nexpanel/.

Note

If nexpanel is not found, use the full path: /opt/nexpanel/nexpanel. The installer creates a symlink in /usr/local/bin/ during a normal install.

Getting Help

The CLI has built-in help for every command.

# List all commands
nexpanel --help

# Help for a specific command
nexpanel user --help

# Help for a subcommand
nexpanel user reset-password --help

Version

Check which version of NexPanel is installed:

nexpanel version

Output includes the version tag and the commit hash the binary was built from.

Next

  • Users - manage panel users from the CLI
Last updated: October 10, 2026