-
-
Notifications
You must be signed in to change notification settings - Fork 1
HOWTO dev misc yarn_setup
steveoro edited this page Jan 16, 2021
·
1 revision
The Yarn package manager is (and can be) used instead of npm for any JS bundles, starting from Rails 5.1+.
Add the installation key, update the package list and get it from the added official repository:
$ curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
$ sudo apt-get update && sudo apt-get install yarnVerify the installation:
$ yarn -v