install_cli

Install llamar CLI

Description

Install the llamar command-line tool to a directory in your PATH.

Usage

1install_cli(path = "~/bin", force = FALSE)

Arguments

  • path: Directory to install to. Defaults to ~/bin.
  • force: Overwrite existing installation. Defaults to FALSE.

Details

This copies the llamar script from the package to the specified directory. The script requires:

  • r (littler) for fast R script execution
  • The llm.api package for LLM connectivity
  • The llamaR package itself

After installation, you can run llamar from any terminal.

Value

The path to the installed script (invisibly).

Examples

1# Install to ~/bin (default)
2install_cli()
3
4# Install to custom location
5install_cli("/usr/local/bin")