Function: projectile-install-command

projectile-install-command is a byte-compiled function defined in projectile.el.

Signature

(projectile-install-command COMPILE-DIR)

Documentation

Retrieve the install command for COMPILE-DIR.

The command is determined like this:

- first we check projectile-install-cmd-map for the last
install command that was invoked on the project

- then we check for projectile-project-install-cmd supplied
via .dir-locals.el

- finally we check for the default install command for a
project of that type

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-install-command (compile-dir)
  "Retrieve the install command for COMPILE-DIR.

The command is determined like this:

- first we check `projectile-install-cmd-map' for the last
install command that was invoked on the project

- then we check for `projectile-project-install-cmd' supplied
via .dir-locals.el

- finally we check for the default install command for a
project of that type"
  (or (gethash compile-dir projectile-install-cmd-map)
      projectile-project-install-cmd
      (projectile-default-install-command (projectile-project-type))))