From f18ee5fd22919c9ccabe8f0c1864239495e72d77 Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 6 Sep 2024 00:25:32 +0200 Subject: [PATCH] docs: add installation via OPPM --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index e561d4a..e54a7f0 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,18 @@ ## Installation +### via OPPM + +``` +oppm register lujoga/oppm +``` + +``` +oppm install mqtt +``` + +### via interactive Lua shell + ```lua local net = require("internet"); local io = require("io"); local f = io.open("/lib/mqtt.lua", "w"); for line in net.request("https://git.luj0ga.de/luca/mineqtt/raw/branch/main/mqtt.lua") do f:write(line) end; f:flush():close() ```