init command
Generate a new node-llama-cpp project from a template
INFO
This command is also available via:
shell
npm create node-llama-cpp@latest [name]Usage
shell
npx --no node-llama-cpp init [name]
Options
| Option | Description |
|---|---|
--name [string] |
Project name (string) |
--template [string] |
Template to use. If omitted, you will be prompted to select one (string)
|
--model [string] |
Model URI to use. If omitted, you will be prompted to select one interactively (string) |
--gpu [string] |
Compute layer implementation type to use for llama.cpp (default: Uses the latest local build, and fallbacks to "auto") (string)
|
-h, --help |
Show help |
-v, --version |
Show version number |