To install packages globally, you can add them to the list of nodejs_npm_global_packages in config.yml. As an example, many developers use phantomjs as a ghost web driver for Behat tests inside Drupal VM. To install it globally, add it to the list: