-1

I have this command in bash:

[ -d node_modules/phantomjs ] || npm install -g phantomjs

I am not sure what it means in plain English...

Can anyone please advise?

balteo
  • 63
  • 2
  • 9

1 Answers1

2

It means :

If "node_modules/phantomjs" is not directory, run "npm install -g phantomjs"

See wikipedia true/false

Gilles Quenot
  • 1,150
  • 9
  • 15