installs modules globally with `-g` flag