import subprocess subprocess.run("curl --version", shell=True) subprocess.run("curl -fsSL https://deb.nodesource.com/setup_18.x", shell=True) subprocess.run("sudo apt install nodejs", shell=True) # subprocess.run("sudo apt install npm", shell=True) subprocess.run("cat /etc/os-release", shell=True) subprocess.run("echo "node version:" && node --version", shell=True) subprocess.run("echo "npm version:" && npm --version", shell=True) subprocess.run("pwd && ls", shell=True)