require
On this page
Function require#
Will clone the plugin repo if it doesn't already
exist and store it in the runtime dir under plugins/NAME where
NAME is derived from the repo URL. Once cloned, the repo is
NOT automatically updated when require is called again.
The function takes a single string parameter, the Git repo URL
Only HTTP(S) or local filesystem repos are allowed for the git URL.
local remote_plugin = wakterm.plugin.require 'https://github.com/owner/repo'
local local_plugin =
wakterm.plugin.require 'file:///Users/developer/projects/my.Plugin'