diff --git a/README.md b/README.md index 2956b64..cd82042 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ and pairing with smart people at Hashrocket. For a steady stream of TILs, [sign up for my newsletter](https://tinyletter.com/jbranchaud). -_875 TILs and counting..._ +_876 TILs and counting..._ --- @@ -294,6 +294,7 @@ _875 TILs and counting..._ - [Easy Date Comparison With DayJS](javascript/easy-date-comparison-with-dayjs.md) - [Expand Emojis With The Spread Operator](javascript/expand-emojis-with-the-spread-operator.md) - [Fill An Input With A Ton Of Text](javascript/fill-an-input-with-a-ton-of-text.md) +- [Find Where Yarn Is Installing Binaries](javascript/find-where-yarn-is-installing-binaries.md) - [for...in Iterates Over Object Properties](javascript/for-in-iterates-over-object-properties.md) - [Freeze An Object, Sorta](javascript/freeze-an-object-sorta.md) - [Generate Random Integers](javascript/generate-random-integers.md) diff --git a/javascript/find-where-yarn-is-installing-binaries.md b/javascript/find-where-yarn-is-installing-binaries.md new file mode 100644 index 0000000..7375490 --- /dev/null +++ b/javascript/find-where-yarn-is-installing-binaries.md @@ -0,0 +1,23 @@ +# Find Where Yarn Is Installing Binaries + +When you run a command like: + +```bash +$ yarn global add create-react-app +``` + +[Yarn](https://yarnpkg.com/lang/en/) is going to install any needed +dependencies including any binaries. So, where is Yarn putting these binaries? + +Let's ask: + +```bash +$ yarn global bin +/Users/jbranchaud/.asdf/installs/nodejs/10.15.3/.npm/bin +``` + +This is where it is located on my machine. You'll want to run it on your own +machine because the exact location will depend on the specifics of your +installation. + +See [the docs](https://yarnpkg.com/lang/en/docs/cli/global/) for more details.