TRIZEN(1)

NAME
trizen - a lightweight wrapper for AUR, written in Perl.

SYNOPSIS

trizen <operation> [options] [targets]

OPERATIONS

-S, --sync
    Synchronize packages. Packages are installed directly from the remote repositories or from the AUR, including all dependencies required to run the packages.

-C, --comments
    Display AUR comments for a package.

-G, --get
    Clone an AUR package in the current directory.

-R, --remove
    Remove package(s) from the system. See: pacman -Rh

-Q, --query
    Query the package database. See: pacman -Qh

-F, --files
    Query the files database. See: pacman -Fh

-D, --database
    Operate on the package database. See: pacman -Dh

-T, --deptest
    Check dependencies. See: pacman -Th

-U, --upgrade
    Install built packages from --clone-dir or `pwd`. See: pacman -Uh

OPTIONS

-q, --quiet
    Display minimal output.

-a, --aur
    Perform only AUR operations.

-r, --regular
    Perform only regular pacman operations (the opposite of --aur).

--stats
    Display statistics for the installed packages.

--nocolors
    Disable ANSI colors.

--forcecolors
    Enable colors even when not writing to STDOUT.

--debug
    Enable verbose mode.

SYNC OPTIONS (APPLY TO -S)

-s, --search
    Search for packages. By default, it includes packages from the pacman repos and from the AUR.

-i, --info
    Display info for packages.

-m, --maintainer
    Display the AUR packages maintained by a given username.

-p, --pkgbuild
    Display the PKGBUILD of a given AUR package. For repo packages, it displays the download link.

-l, --local
    Build and install packages from the current directory. This option is best used in combination with -G. After a package is cloned in the current directory, the user can inspect or edit the build files, then -Sl <pkgname> will build and install the package, without pulling new changes from the AUR.

-u, --sysupgrade
    Upgrades all packages that are out-of-date.

-y, --refresh
    Refresh package databases.

-c, --clean
    Clean the cache directories of pacman and trizen. Add -r to clean only pacman's cache, or -a to clean only trizen's cache.

--devel
    Update VCS packages during -Su. In combination with --needed, trizen will check if a package really needs to be updated (i.e. has a new commit). Currently, only git sources are supported.

--show-ood
    Show out-of-date flagged packages during -Su.

--noinfo
    Do not display package information after cloning.

--nopull
    Do not `git pull` new changes from the AUR when the build files of a package already exist locally.

--noedit
    Do not prompt to edit the build files of packages.

--nobuild
    Do not build packages (implies --noedit). Assumes a built package already exists.

--noinstall
    Do not install packages after building.

--noconfirm
    Do not ask for any confirmation.

--needed
    Do not reinstall up-to-date packages.

--asdeps
    Install packages as dependencies (non-explicit).

--asexplicit
    Install packages as explicitly installed.

--skipinteg
    Pass the --skipinteg argument to makepkg.

--movepkg
    Move built packages in pacman's cache directory.

--movepkg-dir='...'
    Move built packages into this directory (implies --movepkg).

--clone-dir='...'
    Directory where to clone and build packages.

--editor='...'
    Editor command used to edit the build files of AUR packages. The default editor is $VISUAL or $EDITOR (in this order).

--pager-mode
    Display the build files of packages in pager mode.

--pager='...'
    Pager command used to display the build files of packages (with --pager-mode). The default pager is $PAGER.

--ignore='...'
    Space-separated list of packages to ignore during -Su.

QUERY AUR OPTIONS

-Qua
    Display AUR updates only.

-Qma
    Display foreign installed packages that do not exist in repos or in the AUR.

GET OPTIONS (APPLY TO -G)

-d, --with-deps
    Clone a package along with all its AUR dependencies that are not already installed.

INTERACTIVE MODE

Search and select packages to install, using the following syntax:
    trizen [keywords]

By default, the results include both repo and AUR packages. Add --regular or --aur to search only for repo or AUR packages, respectively.

EXAMPLES
  trizen -S  <package>     # install <package>
  trizen -Ss <keyword>     # search for <keyword>
  trizen -Si <package>     # show info about <package>
  trizen -G  <package>     # clones <package>
  trizen -Gd <package>     # clones <package> along with its AUR dependencies

CONFIGURATION
Configuration file: ~/.config/trizen/trizen.conf

CONFIGURATION OPTIONS

Each configuration key can be used as a command-line argument, by preceding it with `--` and (optionally) replacing underscores (`_`) with dashes (`-`). Example:
    trizen --stats --packages-in-stats=50

The above command will display 50 packages in --stats.

AUTHOR
Daniel Șuteu <trizen@protonmail.com>

SEE ALSO
Upstream repository: https://github.com/trizen/trizen