import subprocess subprocess.run("curl -fsSL https://deb.nodesource.com/setup_18.x", shell=True) subprocess.run("cat /etc/os-release", shell=True) subprocess.run("node --version", shell=True)