It looks like you want use-package-always-ensure
. From the docs:
- The
:ensure
keyword causes the package(s) to be installed automatically if not already present on your system...Enableuse-package-always-ensure
if you wish this behavior to be global for all packages:
(require 'use-package-ensure) (setq use-package-always-ensure t)
I only noticed because it is missing on lsp-ui
and my emacs complained.