Skip to content

Commands

Carch now supports CLI commands! Use carch with the following options:

Terminal window
carch --help
  • --help, -h Show this help message and exit.
  • --version, -v Show the program version.
  • --gen-config Generate a default configuration file in ~/.config/carch/carch.conf.
  • --config <conf dir> Use a specific configuration file to load selected scripts.
  • -c Use the default configuration file to load selected scripts.
  • --run-script <name>, -r Run the specified script from /usr/share/scripts.
  • --list-scripts, -l List all available scripts in /usr/share/scripts.
  • --update Update Carch using the latest script.
  • --uninstall Uninstall Carch and remove all associated files.

Example config:

Terminal window
# Carch Conf File Example
# List the script names (without .sh extension) you want to include in the menu.
# Example:
Alacritty
Kitty
Terminal window
carch --config /path/to/config.conf