Open In App

Meteor Introduction and Environment Setup

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

Meteor is an open-source full-stack JavaScript platform that is useful for developing modern web and mobile applications. Meteor helps the developer to develop in one language. Meteor has several features that help for creating a responsive and reactive web or mobile application using JavaScript or different packages available in the framework.

For starts working with any technology, first of all, we need to create a suitable environment.

Prerequisite: For that first we need Meteor to install in our operating system, to run any Meteor application, we must have NodeJS installed on our PC. NodeJS is the platform needed for Meteor development.

  • If you don’t have installed NodeJS. You can visit NodeJS and learn how to download and install it.
  • You may visit the official download link of NodeJS to download and install the latest version of NodeJS.

Step by step procedure to install Meteor:

Step 1: We need to download the official Meteor installer. During the process installation if any error occurs, try running the installer package as an administrator. After finish installing the Meteor, you need to check if every package is installed correctly, for that you need to run the following command in the command prompt window.

C:\Users\..>meteor

You will get the following output, which means the Meteor package was installed successfully on your respective system.

Step 2: Now you just need to create a project directory using the following command on your desired location.

Syntax:

meteor create <name of project>

Example:

meteor create myMeteorApp

Project Structure: After that command, you see the project directory structure as follows:

Step 3: Now you can start your development.

To run the Meteor web application project you need to type few commands as follows:

Syntax:

cd myMeteorApp
meteor

It will give you the output in the terminal as shown in the image below :

Output: Output you will see after starting localhost on your browser.


Last Updated : 31 Aug, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads