-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
This is a feature (or perhaps documentation request).
When I run the following:
yarn global add create-react-app
Yarn will try to symlink into /usr/bin
which requires sudo
. With NPM, I've set my global packages to install into a user directory that is then added to my $PATH
.
Is it possible to set a global directory via config somehow?
I've tried the following to no avail:
yarn add create-react-app -g --global-folder ~/bin
(installs into ~/node_modules
)
yarn global add create-react-app --global-folder ~/bin
(still goes for /usr/bin
)
This is all running on Debian 8.5
pavlos256, kaisermann, slice, maxime1992, alanpog and 24 more
Metadata
Metadata
Assignees
Labels
No labels