From 42797f074a37ecb8c7a3004884016c7a5b5288d9 Mon Sep 17 00:00:00 2001 From: Vitalii Ruzhentsov Date: Wed, 19 Apr 2023 15:04:34 +0300 Subject: [PATCH] docs: add Yarn dlx example (#35) * Update README.md Add yarn example to readme * Update README.md --------- Co-authored-by: Yangshun Tay --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 891cd5f..881bd3c 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,12 @@ Instantly execute the command in your current directory via `npx`: npx tree-node-cli -I "node_modules" # ignore node_modules ``` +Or via Yarn 2+: + +```bash +yarn dlx -p tree-node-cli tree -I "node_modules" # ignore node_modules +``` + ## Installation ```bash