There are a few things that will make managing your pico engine and writing KRL code easier.
...
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.
...
Install and run the pico engine
$ npm install -g pico-engine
$ pico-engine
Remove the pico engine code.
...
npm
...
rm
...
-g
...
pico-engine
Install a specific version of the pico engine code.
In this example, the engine as of March 28, 2017 was at version 0.5.13.
...
npm
...
install
...
-g
...
pico-engine@0.5.13
Update to the latest version
You can update to the latest version using the command
...
npm
...
update
...
-g
...
pico-engine
You can see which version you are using near the top-left corner of the "My Picos" page (localhost:8080) or by running the command
...
npm ls -g pico-engine
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 |
Running multiple pico engines
...