$ [sudo] pip install shell-cache
$ [sudo] npm i -g shell-cache
How it works
$SHELL_CACHE/<hash> # ~/.cache/shell-cache/<hash> by default
optional. environment variables:
$ export SHELL_CACHE=~/.cache/shell-cache # $XDG_CACHE_HOME/shell-cache by default
$ shell-cache "key" "value ..." $ shell-cache "key" "value ..."
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.