Skip to content
This repository was archived by the owner on Oct 24, 2021. It is now read-only.

Latest commit

 

History

History
63 lines (38 loc) · 2.13 KB

install.md

File metadata and controls

63 lines (38 loc) · 2.13 KB
title
Install

If you prefer to watch the video, click below.

{% youtube zzRXT2T_lIo %}

Meteor currently supports OS X, Windows, and Linux. Only 64-bit is supported. Apple M1 is only supported through Rosetta at this moment.

Prerequisites and useful information

  • Meteor requires Node.js 8 or newer installed for running the npm installer.
  • Meteor supports Windows 7/Windows Server 2008 R2 and up.
  • Disabling antivirus (Windows Defender, etc.) will improve performance.
  • For compatibility, Linux binaries are built with CentOS 6.4 i386/amd64.
  • iOS development requires the latest Xcode.
  • Do not install meteor npm in your project's package.json by any means, the npm library is only an installer.

Installation

Install the latest official Meteor release from your terminal:

npm install -g meteor

If your user doesn't have permission to install global binaries, and you need to use sudo, it's necessary to append --unsafe-perm to the above command:

sudo npm install -g meteor --unsafe-perm

We strongly discourage the usage of Node.js or Meteor with root permissions. Only run the above command with sudo if you know what you are doing.

If you only use sudo because of a distribution default permission system, check this link for fixing it.

For Apple M1 computers, you can append Rosetta prefix as following:

arch -x86_64 npm install -g meteor

or select Terminal in the Applications folder, press CMD(⌘)+I and check the "Open using Rosetta" option.

We currently don't support Apple M1 native binaries as the latest meteor release uses Node.js 14 which doesn't have support for it until now. More info in our repository, here.

Legacy Installation Method

For Linux and OS X, we are still providing the legacy installation method which uses a bash script and doesn't depend on Node.

curl https://install.meteor.com/ | sh

This installation method is not maintained anymore, and you should always use the NPM one.