Skip to content

Instantly share code, notes, and snippets.

@darshitvvora
Created March 23, 2020 07:08
Show Gist options
  • Select an option

  • Save darshitvvora/580e7ba1c690feb4bd71918f12293d79 to your computer and use it in GitHub Desktop.

Select an option

Save darshitvvora/580e7ba1c690feb4bd71918f12293d79 to your computer and use it in GitHub Desktop.
Loop over all project in directory and run npm i
for f in ~/repo/quezx/*;
do
[ -d $f ] && cd "$f" && echo Entering into $f and installing packages && npm i
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment