DEV Community

Jan Küster
Jan Küster

Posted on • Updated on

Meteor 5 minutes setup for newcomers

Installing Meteor and starting development is fast and uncomplicated. Checkout this < 5 minutes setup and choose your favourite frontend technology.

I. Install Meteor on your system

$ curl https://install.meteor.com/ | sh
Enter fullscreen mode Exit fullscreen mode

It comes bundled with node,npm and mongo so you don't need to install them manually. Also it won't install them system-wide, so no worries - it won't mess things up.

II. Create a new project

Note: Meteor offers integration for nearly all frontend frameworks/libraries out there, where at least the major ones (including svelte!) are integrated.

a) Default (uses React as default ui library)

$ meteor create my-first-project
Enter fullscreen mode Exit fullscreen mode

b) With TypeScript

$ meteor create --typescript my-first-project
Enter fullscreen mode Exit fullscreen mode

Note: the --typescript flag can also be used with other frontend libraries.

c) With Blaze

$ meteor create --blaze my-first-project
Enter fullscreen mode Exit fullscreen mode

Note: although Blaze is not known outside of Meteor it is quite easy to learn and integrates perfectly with Meteor.

d) With Vue

$ meteor create --vue my-first-project
Enter fullscreen mode Exit fullscreen mode

e) With Apollo

$ meteor create --apollo my-first-project
Enter fullscreen mode Exit fullscreen mode

Note: as with typescript this can be combined with several frontends.

f) With Svelte

There is no builtin support yet but it's already easy to setup: Starting with Meteor 2.2 there is also builtin support for svelte:

$ meteor create --svelte my-first-project
Enter fullscreen mode Exit fullscreen mode

g) With Angular

Angular use declined in the Meteor community but there is still a build system with support for Angular.

h) Other frameworks

You can search for integrating other frameworks, too. Anything that's available on NPM can be integrated. However, note that you may have to use a compiler package or write your own.

3. Install packages

$ cd my-first-project
$ meteor npm install
Enter fullscreen mode Exit fullscreen mode

4. Run and start coding

$ cd my-first-project # if not already in project folder
$ meteor
Enter fullscreen mode Exit fullscreen mode

Where to go from here

Read the guide on the various topics Meteor covers or the docs on specific API functions.

You can discover many packages for Meteor in it's package registry Atmosphere. Note, that there are certain packages, which are semi-officially maintained and improved by the community.

Say hello to the Meteor community in the forums and do not hesitate to ask any question.

If you like to contribute to Meteor you can check out the repositories on GitHub.

Disclaimer: I am not affiliated with Meteor Software, MDG or Tiny. I am a constant Meteor user and active contributor to the Meteor community.



I regularly publish articles here on dev.to about Meteor and JavaScript. If you like what you are reading and want to support me, you can send me a tip via PayPal.

You can also find (and contact) me on GitHub, Twitter and LinkedIn.

Keep up with the latest development on Meteor by visiting their blog and if you are the same into Meteor like I am and want to show it to the world, you should check out the Meteor merch store.

Top comments (0)