- Node.js installed
Install the pkg tool globaly to create executables which can run on linux, mac and windows.
npm install -g @yao-pkg/pkgInstall the packages
yarn workspaces focus @rentroo/cliRun the pkg tool to create the mre executables
pkg cli/package.json --compress Brotli --output mreRename the linux and windows executables
mv mre-linux mre
mv mre-win.exe mre.exeThe mre cli is ready to use!