flk direnv
flk direnv init # create .envrc with the flk directive
flk direnv attach # append it to an existing .envrc
flk direnv detach # remove it again
Run direnv allow afterwards. init refuses to overwrite an existing .envrc; use attach for that.