Clearing RCC environment caches
Depending on the number of different run environments (
conda.yaml files) you are using, and how long you have been running robots, the environment cache can get quite big. Also, as our tools and conda are updated, files can get corrupted.
Clearing cache using RCC
RCC is by far the simplest choice here and you can get it here.
RCC is just a single standalone executable that you can download and use the following commands to clear things up:
- Shut down all Robocorp Lab, App, and Code instances.
rcc env cleanup --allto clear all environment caches.
Clearing cache using the command line/terminal
RCC by default creates cache files in these locations:
- macOS & Linux:
Since January 2021 all Robocorp tools support changing this location using either ROBOCORP_HOME environment variable or in the tools themselves. So adjust target folder accordingly.
RCC environment cache directories are
/pipcache. To clear out the whole environment cache, you need to delete these directories.
Close all Robocorp Lab, App, and Code instances because they might be using these environments.
The file operations can take a while due to the number of small files.
If you get warning on
file or folder locked / in usethe simplest way to make sure the file locks are released is to reboot your machine.
rmdir /Q/S "%USERPROFILE%\AppData\Local\robocorp\base" rmdir /Q/S "%USERPROFILE%\AppData\Local\robocorp\live" rmdir /Q/S "%USERPROFILE%\AppData\Local\robocorp\pipcache" rmdir /Q/S "%USERPROFILE%\AppData\Local\robocorp\pkgs"
macOS & Linux
rm -rf ~/.robocorp/base rm -rf ~/.robocorp/live rm -rf ~/.robocorp/pipcache rm -rf ~/.robocorp/pkgs