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

Commit 0de8940

Browse files
authored
Merge pull request #748 from meteor/new-installer
Document new install method
2 parents b708cca + eb62c43 commit 0de8940

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ sidebar_categories:
2626
null:
2727
- index
2828
- changelog
29+
- install
2930
API:
3031
- api/core
3132
- api/pubsub

source/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Meteor is a full-stack JavaScript platform for developing modern web and mobile
1717

1818
<h2 id="learning-more">Meteor resources</h2>
1919

20+
1. First, learn how to install meteor in the [installation section](/install.html).
21+
2022
1. The place to get started with Meteor is the [tutorials page](https://www.meteor.com/developers/tutorials).
2123

2224
1. [Meteor Examples](https://github.com/meteor/examples) is a list of examples using Meteor. You can also include your example with Meteor.

source/install.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Install
3+
---
4+
Meteor currently supports **OS X, Windows, and Linux**. Only 64-bit is supported.
5+
6+
### Prerequisites and useful information
7+
8+
- Meteor requires Node.js 8 or newer installed for running the npm installer.
9+
- Meteor supports Windows 7/Windows Server 2008 R2 and up.
10+
- Disabling antivirus (Windows Defender, etc.) will improve performance.
11+
- For compatibility, Linux binaries are built with CentOS 6.4 i386/amd64.
12+
- iOS development requires the latest Xcode.
13+
14+
### Installation
15+
16+
Install the latest official Meteor release from your terminal:
17+
18+
```bash
19+
npm install -g meteor
20+
```
21+
22+
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:
23+
24+
```bash
25+
sudo npm install -g meteor --unsafe-perm
26+
```
27+
28+
We strongly discourage the usage of Node.js or Meteor with root permissions.
29+
Only run the above command with sudo if you know what you are doing.
30+
31+
If you only use sudo because of a distribution default permission system, [check this link for fixing it](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally).
32+
33+
### Legacy Installation Method
34+
35+
For Linux and OS X, we are still providing the legacy installation method which uses a bash script and doesn't depend on Node.
36+
37+
```bash
38+
curl https://install.meteor.com/ | sh
39+
```
40+
41+
This installation method is not maintained anymore, and you should always use the NPM one.
42+
43+
44+

0 commit comments

Comments
 (0)