There are a few things that will make managing your pico engine and writing KRL code easier.
Managing your Pico Engine
If you need to remove your pico engine and change to a different version, follow these instructions.
If you wish to remove all picos and start over, use one or more of these commands.
Code Block rm -r ~/.pico-engine/db #removes all picos and cached ruleset source code rm -r ~/.pico-engine/rulesets #removes compiled ruleset node modules rm -r ~/.pico-engine #shortcut to do both of the above
Remove the pico engine code.
Code Block npm rm -g pico-engine
Install a specific version of the pico engine code. In this example, the engine as of February 22, 2017 was at version 0.5.1.
Code Block npm install -g pico-engine@0.5.1
Hosting Code
Because the rules engine reads your KRL program from the Web, it has to be available online. You can host it anywhere, but Github works especially well. See these instructions for more information about how to use Github to host KRL.
...
- You can use the "Engine Rulesets" page, linked from the pico engine home page, and cut copy and paste your KRL ruleset into it.
- You can download and run the node pico engine compiler on your own machine and run it from the command line.
...