change `-g install` to `install -g`