Skip to content

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

@simonw

Description

@simonw

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions