mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Find Where Yarn Is Installing Binaries as a javascript til
This commit is contained in:
23
javascript/find-where-yarn-is-installing-binaries.md
Normal file
23
javascript/find-where-yarn-is-installing-binaries.md
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user