sudo npm install -g -bash: $: command not found code example
Example: sudo: apt: command not found
If apt is not found so Linux is CentOS which is RedHat-based
RedHat installs use yum not apt-get
If apt is not found so Linux is CentOS which is RedHat-based
RedHat installs use yum not apt-get