CoffeeScript Environment - CoffeeScript

What is Coffee Script Environment?

The Compiler of the modern-day versions of Coffee Script is written in Coffee Script itself. To run Coffee Script documents to your machine without a browser, you want a JavaScript runtime.

What is Node.js?

Node.js is a JavaScript framework that is used to expand network server packages. It additionally acts as a bridge between JavaScript and the operating system.

The command-line model of CoffeeScript is sent as a Node.js package deal. Consequently, to put in CoffeeScript (command-line) in your system, you first need to install node.js.

How to Install Node.js?

Steps to download and install Node.js in your system.

Step 1

Visit the nodejs homepage and download its steady version for windows by clicking on the button highlighted in the snapshot given below.

CS Environment

Step 2

On clicking, an .msc file named node-v7.7.4.x64 will be downloaded into your system, run the downloaded file to start the Node.js set-up. Here is the snapshot of the Welcome page of Node.js set-up wizard.

Click Next

Step 3

Click on the subsequent button inside the Welcome web page of the Node.js set-up wizard so that you can lead you to the end-user License settlement page. Agree the license agreement and click on the next button as shown beneath.


license Agreement

Step 4

On the next page, you need to set the destination folder to the path where you want to install Node.js. Change the path to the required folder and click on the Next button.

set_destination_folder

Step 5

In the Custom setup page, select the Node.js runtime to install node.exe file and click next.
custom_setup

Step 6

Finally, click on the Install button which will start the Node.js installation.

click_install

Click on the Finish button of the Node.js set-up wizard as shown below to complete the Node.js installation.

click_finish

Installing Coffee Script


Node.js provides you a command prompt (Node.js command prompt). You can install Coffee Script globally by entering the following command in it.



On executing the the above command, CoffeeScript will be installed in your system by producing the following output.

coffeescript


Verification


You can verify the installation of the CoffeeScript by typing the following command.



On successful installation, this command gives you the version of CoffeeScript as shown below.

verification

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

CoffeeScript Topics