English version below
Lenlab und uv werden mit der Kommandozeile gestartet. Starten Sie das Programm "Terminal" auf Ihrem Computer.
Sie sehen ein weitgehend leeres Fenster mit einem Prompt (...> oder ...$). An diesem Prompt können Sie einen
Befehl eingeben (oder kopieren und einfügen) und mit der Enter-Taste ausführen. Das Fenster zeigt dann die Ausgabe
des Befehls und ein neuer Prompt, wenn der Befehl abgeschlossen ist. An dem neuen Prompt können Sie
den nächsten Befehl eingeben. Die folgende Anleitung beschreibt die Befehle für Lenlab.
Installieren Sie zunächst uv:
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"MacOS oder Linux:
curl -LsSf https://astral.sh/uv/install.sh | shWeitere Informationen zur Installation finden Sie in der Dokumentation zu uv:
https://docs.astral.sh/uv/getting-started/installation/
Schließen Sie das Terminal und starten Sie es neu, dann findet es die eben installierten Kommandos uv und uvx.
Falls Sie uv bereits installiert haben, aktualisieren Sie es bitte:
uv self updateuvx lenlabuvx lädt Lenlab in der neuesten Version herunter und führt es aus. Es speichert den Download beim ersten Mal
und führt danach nur die lokale Kopie aus ohne Zugriff auf das Internet.
uvx lenlab@latestMit diesem Befehl lädt uvx zunächst eine neuere Version von Lenlab herunter, falls es eine gibt.
Danach führt es Lenlab aus.
Auf manchen Macs fehlt das Kommando realpath. Lenlab startet dann nicht mit der Fehlermeldung
"realpath: command not found". Bitte verwenden Sie in diesem Fall den Befehl:
uvx --from lenlab python -m lenlabLenlab and uv are started from the command line. Start the program "terminal" on your computer.
You see a mostly empty window with a prompt (...> oder ...$). You can type (or copy and paste) a command
at that prompt and run it with the enter key. Then, the window shows the output of the command and a new prompt
after the command is finished. At the new prompt, you can enter the next command.
The following manual describes the commands for Lenlab.
First, install uv:
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"MacOS or Linux:
curl -LsSf https://astral.sh/uv/install.sh | shYou may find further information about the installation in the documentation of uv:
https://docs.astral.sh/uv/getting-started/installation/
Close the terminal and restart it, then it finds the newly installed commands uv and uvx.
Please update uv, if it is already installed.
uv self updateuvx lenlabuvx downloads Lenlab and runs it. It saves the download the first time and only runs the local copy later
without access to the internet.
uvx lenlab@latestWith this command, uvx downloads a newer version of Lenlab, if available.
Then, it runs Lenlab.
The command realpath is missing on some Macs. Lenlab does not start then with the error message
"realpath: command not found". In that case, please use the command:
uvx --from lenlab python -m lenlab