.. _utils_dasllama_cli: .. index:: single: Utils; dasllama-cli single: Utils; LLM command line single: Utils; speech command line ====================================================== dasllama-cli --- dasLLAMA from the shell ====================================================== ``dasllama-cli`` (``utils/dasllama-server/cli.das``) is the shell front end of :ref:`dasLLAMA `: the same engine, the same public facade and the same backend pick as :ref:`dasllama-server `, without the HTTP layer. One model, one conversation, one process - a script or a cron job asks a model, hears a clip or speaks a line with no server running. It ships beside the server in every bundle (``dasllama-cli.exe`` on Linux and Windows, ``dasllama-server.app/Contents/MacOS/dasllama-cli`` on a Mac) and runs from the source tree under the JIT: .. code-block:: sh bin/daslang -jit utils/dasllama-server/cli.das -- chat --model Commands ======== .. list-table:: :header-rows: 1 :widths: 14 86 * - Command - What it does * - ``complete`` - Complete a prompt, streamed to stdout; the prompt is ``--prompt``, ``--file`` or the first bare argument. ``--image `` with ``--image-mmproj `` asks about a picture. ``--quiet`` drops the token counters. * - ``chat`` - A conversation from the terminal, or from ``--script `` one message per line. ``/help`` lists the slash commands: ``/image`` and ``/audio`` attach a file to the next message (``--image-mmproj`` / ``--audio-mmproj``; the gemma-4 E-series mmproj carries both towers, pass it twice), ``/read`` sends a file's text, ``/save`` and ``/load`` keep the transcript as JSON, ``/regen``, ``/clear``, ``/system``, ``/stats``, ``/speak on`` (with ``--tts``, every reply lands in ``reply_.wav`` under ``--out-dir``), ``/exit``. A line of ``"""`` opens and closes a multi-line message. A thinking model's reasoning streams before its answer, a blank line between; ``--hide-thinking`` hides it, ``--no-think`` answers directly on a hybrid model. * - ``transcribe`` - An audio file (wav, mp3, flac, ogg) to text through ``--asr`` (a GGUF pair takes ``--mmproj``); ``--out`` writes it to a file, ``--lang`` hints the language where the model takes one - a model that detects it refuses a hint, and a code the model does not speak is refused with the codes it does. * - ``speak`` - Text to a 16-bit WAV through ``--tts`` (``--voice``, ``--speed``, ``--tts-lane q8 | f32``). A voice the model does not carry is refused with the voices it does; a speed on a model that takes none is refused. * - ``talk`` - The chain: ``--in