Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 831177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:09:38+00:00 2026-05-15T04:09:38+00:00

I am looking into Javascript programming without a browser. I want to run scripts

  • 0

I am looking into Javascript programming without a browser. I want to run scripts from the Linux or Mac OS X command line, much like we run any other scripting language (ruby, php, perl, python…)

$ javascript my_javascript_code.js

I looked into spider monkey (Mozilla) and v8 (Google), but both of these appear to be embedded.

Is anyone using Javascript as a scripting language to be executed from the command line?

If anyone is curious why I am looking into this, I’ve been poking around node.js. The performance of node.js makes me wonder if javascript may be a viable scripting language for processing large data.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T04:09:38+00:00Added an answer on May 15, 2026 at 4:09 am

    I found this related question on the topic, but if you want direct links, here they are:

    • You can install Rhino as others have pointed out. This post shows an easy way to get it up and running and how to alias a command to invoke it easily
    • If you’re on a Mac, you can use JavaScriptCore, which invokes WebKit’s JavaScript engine. Here’s a post on it
    • You can use Chome/Google’s V8 interpreter as well. Here are instructions
    • The JavaScript as OSA is interesting because it lets you (AFAIK) interact with scriptable OS X apps as though you were in AppleScript (without the terrible syntax)

    I’m surprised node.js doesn’t come with a shell, but I guess it’s really more like an epoll/selector-based callback/event-oriented webserver, so perhaps it doesn’t need the full JS feature set, but I’m not too familiar with its inner workings.

    Since you seem interested in node.js and since it’s based on V8, it might be best to follow those instructions on getting a V8 environment set up so you can have a consistent basis for your JavaScript programming (I should hope JSC and V8 are mostly the same, but I’m not sure).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Today I was looking into Knockout JavaScript library and its features. Now I want
I've started looking into architecturing a javascript framework. I don't want to reinvent the
I am looking into the use of xpath from within Javascript. I have an
I am looking into methods to inject javascript into any webpage loaded in the
I'm looking into using a javascript logging framework in my app. I quite like
I'm looking into development standards fro JavaScript. I had previously used Doulgas Crockfords Javascript
I'm looking to find the Javascript Event I need to put into jQuery's .bind
While looking into parallel programming, and subsequently evaluation strategies, the question whether thunks are
So I've been looking into full development object oriented JavaScript practices, and wonder about
I come from a Java/C++ OOP background and am trying to get into JavaScript

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.