# direnv-cache ## Setup direnv-cache consists of two components: the direnv-cache script and an extension to direnv's stdlib. To set up direnv-cache, make direnv read the provided direnvrc, eg. via cp direnvrc ~/.config/direnv/direnvrc and install direnv-cache somewhere in your PATH. If you use home-manager, you can add the following to your configuration ... let direnv-cache = pkgs.callPackage ./path/to/this/repo {}; in ... home.packages = [ ... direnv-cache ... ]; programs.direnv = { enable = true; enableBashIntegration = true; stdlib = builtins.readFile direnv-cache.direnvrc; }; ... ## Usage The following assumes a working direnv setup. Use the cache function in your `.envrc` files, eg. cache <