LinuxCommandLibrary

meteor

Develop and deploy Meteor applications

TLDR

Run a meteor project from its root directory in development mode

$ meteor
copy

Create a project under the given directory
$ meteor create [path/to/directory]
copy

Display the list of packages the project is currently using
$ meteor list
copy

Add a package to the project
$ meteor add [package]
copy

Remove a package from the project
$ meteor remove [package]
copy

Create a production build of the project as a tarball under the given directory
$ meteor build [path/to/directory]
copy

SYNOPSIS

meteor [command] [options]

PARAMETERS

create <app-name>
    Creates a new Meteor application with the specified name.

run
    Runs the Meteor application in development mode.

build <output-directory>
    Builds a production-ready bundle of the Meteor application.

update
    Updates the Meteor installation to the latest version.

add <package-name>
    Adds a package to the Meteor application.

remove <package-name>
    Removes a package from the Meteor application.

reset
    Resets the Meteor development environment, clearing the database.

help
    Displays the list of commands and options.

DESCRIPTION

Meteor is a full-stack JavaScript platform for developing modern web and mobile applications. The meteor command is the command-line interface (CLI) used to create, build, run, and deploy Meteor applications. It streamlines the process of setting up a development environment, managing packages, and building production-ready bundles.
Using meteor, developers can quickly prototype and iterate on their applications, leveraging Meteor's reactive data system and built-in tooling. The platform's isomorphic JavaScript approach allows for code sharing between the client and server, simplifying development and improving performance. This helps with the development of applications that have both a client and a server by providing all of the necessary packages to develop full stack applications. Developers can use any of the thousands of available node packages from npm with meteor

CAVEATS

Meteor applications can be resource intensive during development. Building and deploying require a configured Meteor environment. Updating Meteor can sometimes introduce breaking changes so it is recommended to test after doing this.

DEPLOYMENT

Meteor applications can be deployed to various platforms, including Meteor Cloud, Galaxy, AWS, and Heroku. Deployment often involves creating a production bundle using meteor build and then configuring the target environment to run the application.

PACKAGE MANAGEMENT

Meteor utilizes a package management system to manage external libraries and dependencies. Packages can be added, removed, and updated using the meteor add and meteor remove commands. The package.json file is not directly used by Meteor. It uses its own format and mechanism for this.

HISTORY

Meteor was initially developed by Geoff Schmidt and Matt Debergalis at the company Saronia. First introduced in 2011, Meteor gained popularity for its ease of use and rapid application development capabilities. It has evolved from a fully integrated platform to a more modular system, leveraging standard JavaScript tooling and ecosystem.

SEE ALSO

npm(1), node(1), mongo(1)

Copied to clipboard