Skip to content

Instantly share code, notes, and snippets.

@Telematica
Created October 3, 2019 20:35
Show Gist options
  • Save Telematica/491e744cb0188894d7bb8a5c26ade681 to your computer and use it in GitHub Desktop.
Save Telematica/491e744cb0188894d7bb8a5c26ade681 to your computer and use it in GitHub Desktop.
Node Tricks
#You might be able to install Yarn locally with
npm i -S yarn
# and then add it to your path SET PATH=%PATH%;c:\to\your\project\node_modules\.bin\yarn
# Now in the same terminal window you can use it with yarn install ...
npm bin -g
# Execute npm bin -g which will print the folder name where npm installs executables and add that folder to your path.
# Restart the command prompt/powershell and it should work.

Node Tricks

Install Yarn using npm

  • install-yarn-npm.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment