You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,25 @@ End-users can manage addon installations using the LuaRocks CLI.
24
24
-`luarocks --lua-version 5.5 show an-addon` - view information about `an-addon`
25
25
- etc.
26
26
27
+
> [!NOTE]
28
+
> To help with remembering to add the `--lua-version 5.5` argument, it may be helpful to add an alias somewhere in your PATH for the command. e.g. on Unix,
29
+
>
30
+
> ```sh
31
+
>#!env bash
32
+
># /in/PATH/lls-addons
33
+
> luarocks --lua-version 5.5 "$@"
34
+
>```
35
+
>
36
+
> and on Windows,
37
+
>
38
+
>```bat
39
+
> @ECHO OFF
40
+
> REM C:\in\PATH\lls-addons.bat
41
+
> luarocks --lua-version 5.5 %*
42
+
>```
43
+
>
44
+
> Then you could just install `an-addon` using `lls-addons install an-addon`.
45
+
27
46
Users can also browse addons online from https://luarocks.org/m/lls-addons.
0 commit comments