diff --git a/bin/npm-cli.js b/bin/npm-cli.js index e4da63c9795d3..6f76b23828531 100755 --- a/bin/npm-cli.js +++ b/bin/npm-cli.js @@ -83,9 +83,11 @@ ) { const pkg = require('../package.json') let notifier = require('update-notifier')({pkg}) + const isCI = require('ci-info').isCI if ( notifier.update && - notifier.update.latest !== pkg.version + notifier.update.latest !== pkg.version && + !isCI ) { const color = require('ansicolors') const useColor = npm.config.get('color')