PPM is a tool to manage Plume projects. It is a command line tool that allows you to create, build, run, install to PATH, and install packages, as well as manage your project's dependencies.
To install PPM, you can use the following command:
git clone https://github.com/plume-lang/ppm
cd ppmThen, you may add the bin folder to your PATH, and set PPM_PATH to the path of the ppm folder.
Finally, install the ppm command using:
plumec main.plm
node main.js installTo create a new project, use the following command:
ppm init <project-name>To build a project, use the following command:
ppm buildTo run a project, use the following command:
ppm runTo install a project to PATH, use the following command:
ppm installTo install a package, use the following command:
ppm add <package-name>To update the standard library, use the following command:
ppm update-stdTo update PPM, use the following command:
ppm update-ppm