Node's icon

Node

Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications.

Run
is not affiliated with .

Source Script

#
# Node turbo.me file
# https://github.com/turboapps/turbome/tree/master/node
#
# Licensed under the Apache License, Version 2.0
# http://www.apache.org/licenses/LICENSE-2.0

meta title="NodeJS"
meta namespace="node"
meta name="node"

###################################
# Pull dependency images
###################################

layer clean
using wget,python:3.4.1


###################################
# Download and install
###################################

cmd pip install requests --quiet

cmd mkdir c:\Workspace
workdir c:\Workspace

batch
 echo import sys > getRelease.py
 echo import requests >> getRelease.py
 echo import re >> getRelease.py
 echo host = "https://nodejs.org/en/download/" >> getRelease.py
 echo headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0'} >> getRelease.py
 echo r = requests.get(host , headers=headers, timeout=10) >> getRelease.py
 echo print(list(re.findall('^"(.*v(\d*\.\d*\.\d*).*x86.msi)^"', r.text )[0])) >> getRelease.py

cmd python getRelease.py

var data = last



cmd "python -c ""print(%data%[0])"""

var url = last


cmd "python -c ""print(%data%[1])"""

var tag = last


cmd "wget -O node.msi --no-check-certificate %url%"

cmd node.msi /qn
# Manually create npm folder, because node installer fails to do so
cmd mkdir "%APPDATA%\npm"


###################################
# Startup File
###################################

setworkdir @PROGRAMFILESX86@\nodejs

# No startup file needed


###################################
# Environment Variables
###################################

# No variables needed


###################################
# Clean up
###################################

workdir c:\

cmd rmdir c:\Workspace /s /q
cmd rmdir c:\wget /s /q
cmd rmdir c:\Python34 /s /q

meta tag=tag
  • Maintained By

    spoonbrew's avatar
  • Actions

    Save to Dashboard Open In TurboShell
  • Dependencies
    No dependencies
  • Used By
    ghost
  • Build
    Turbo.me Script
  • Channels
    No channels
  • Website
    Developer: nodejs.org
  • Current
    6.9.5 updated 11 days ago
  • Details
    Size: 28.86 MB
    Updated:
    Created:
  • Embed

  • Releases