datasette icon indicating copy to clipboard operation
datasette copied to clipboard

New options for datasette install: --pre, -e, -r and others

Open simonw opened this issue 7 months ago • 3 comments

https://llm.datasette.io/en/stable/help.html#llm-install-help has a few more options I could borrow:

Usage: llm install [OPTIONS] [PACKAGES]...

  Install packages from PyPI into the same environment as LLM

Options:
  -U, --upgrade        Upgrade packages to latest version
  -e, --editable TEXT  Install a project in editable mode from this path
  --force-reinstall    Reinstall all packages even if they are already up-to-
                       date
  --no-cache-dir       Disable the cache
  --help               Show this message and exit.

LLM code: https://github.com/simonw/llm/blob/9a39af82cdbd064edff99e753e506e03bb0b0796/llm/cli.py#L2321-L2354

simonw avatar Apr 26 '25 03:04 simonw