sk-node / app.py
ronvolutional's picture
Update app.py
ed2b231
raw
history blame
475 Bytes
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)