# Setup asdf direnv
## Metadata
**Status**:: #x
**Zettel**:: #zettel/literature
**Created**:: [[2023-06-06]]
**Parent**:: [[asdf]] [[direnv]]
## Synopsis
```
asdf plugin add direnv
asdf direnv setup --shell zsh --version system
```
Enable it in `.envrc`
```
use asdf
```
Use `asdf local <plugin> <version>` to configure tool versions in the file `.tool-versions`.