Problem installing appium on Linux

I have problem with Linux (Mint) when run mobile test in console mode in command line.
command line script:

krispty@sisin-PC:~/Katalon Studio$ sudo npm install -g appium
[sudo] password for krispty:
npm ERR! errno ENOTFOUND
npm ERR! network request to failed, reason: getaddrinfo ENOTFOUND
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’

npm ERR! A complete log of this run can be found in:
npm ERR! /home/krispty/.npm/_logs/2020-09-10T06_01_52_755Z-debug.log

Any idea what is the problem?


Please check your network connection to which hosts the appium binary.