LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

meteor

full-stack JavaScript framework

TLDR

Create new project
$ meteor create [project-name]
copy
Run development server
$ meteor
copy
Add package
$ meteor add [package-name]
copy
Remove package
$ meteor remove [package-name]
copy
Build for production
$ meteor build [output-dir]
copy
Deploy to Galaxy
$ meteor deploy [app.meteorapp.com]
copy

SYNOPSIS

meteor [command] [options]

DESCRIPTION

meteor is the command-line driver for the Meteor.js full-stack JavaScript framework. Running meteor in a project directory bundles the client, server, and database scripts together, starts a local MongoDB instance, watches the source tree for changes, and serves the application with hot-code reload to connected clients.Beyond the dev server, the CLI bootstraps new projects (meteor create), installs Atmosphere or npm packages (meteor add, meteor npm install), produces architecture-specific bundles for deployment (meteor build), and pushes apps to Meteor's hosted Galaxy platform (meteor deploy). Underneath sits a reactive data layer (DDP) that synchronizes documents between server-side MongoDB collections and client-side Minimongo caches over WebSockets.

PARAMETERS

COMMAND

Meteor command.
create NAME
Create new project.
add PKG
Add package.
remove PKG
Remove package.
build DIR
Build for production.
deploy HOST
Deploy application.
--help
Display help information.

CAVEATS

Node.js-based; modern versions require Node 14 or later. MongoDB is the only first-class database, though external SQL stores can be reached through community packages. The reactivity model (Tracker, publications, subscriptions) has a learning curve and can become a performance bottleneck at scale.

HISTORY

Meteor was launched by Meteor Development Group in 2012 and released 1.0 in 2014. Stewardship moved to Tiny in 2022, where development continues alongside Meteor's Galaxy hosting service.

SEE ALSO

node(1), npm(1), mongod(1)

Copied to clipboard
Kai