Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GIT-PKGS(1)			Git Pkgs Manual			   GIT-PKGS(1)

NAME
       git-pkgs-add - Add a dependency

SYNOPSIS
       git-pkgs	add  [version] [flags]

DESCRIPTION
       Add  a  package dependency using	the detected package manager.  Detects
       the package manager from	lockfiles in the current  directory  and  runs
       the appropriate add command.

       Examples:
	 git-pkgs add lodash
	 git-pkgs add lodash 4.17.21
	 git-pkgs add rails --dev
	 git-pkgs add lodash -e	npm

OPTIONS
       -D, --dev[=false]      Add as development dependency

       --dry-run[=false]      Show what	would be run without executing

       -e, --ecosystem=""      Filter to specific ecosystem

       -x, --extra=[]	   Extra arguments to pass to package manager

       -h, --help[=false]      help for	add

       -m,  --manager=""       Override	detected package manager (takes	prece-
       dence over -e)

       -t, --timeout=5m0s      Timeout for add operation

OPTIONS	INHERITED FROM PARENT COMMANDS
       --color="auto"	   When	to colorize output: auto, always, never

       --include-submodules[=false]	 Include git submodules	when  scanning
       for manifests

       -p, --pager[=false]	Use pager for output

       -q, --quiet[=false]	Suppress non-essential output

SEE ALSO
       git-pkgs(1)

HISTORY
       11-Jun-2026 Auto	generated by spf13/cobra

git-pkgs			   Jun 2026			   GIT-PKGS(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=git-pkgs-add&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help