Created
September 18, 2019 00:16
-
-
Save jaxtheking/41c9bec6abd3b89007c9108686899515 to your computer and use it in GitHub Desktop.
Enable Node & NPM globally on a cPanel server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ln -s /opt/cpanel/ea-nodejs10/bin/npm /usr/local/sbin/npm | |
$ ln -s /opt/cpanel/ea-nodejs10/bin/node /usr/local/sbin/node | |
$ chmod +x /usr/local/sbin/npm | |
$ chmod +x /usr/local/sbin/node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment