What Meteor does when you install it

A quick overview of what Meteor does when you install it

I have been playing about with Meteor recently and I am going to start blogging about different cool things you can do with it.

The first pretty cool thing which I haven’t seen any applications do before is leverage the power of the pipe for installing Meteor.

The command given on the site to get you up and running is:

curl install.meteor.com | sh

If you are not familiar with the command line this can look a little messy, but this is actually very elegant install solution, it makes sure all new installs have the most bang up-to-date version and uses a shell script for the install, which is supported by a large amount of machines.

The command is divided up into two sections, the section before the pipe (‘ ’) and the section after it.

The section before uses a command that grabs the content from a URL and displays it (in this case the content of install.meteor.com).

Only the pipe tells us that whatever output that first command gives to give it to the second command, so it passes the output of install.meteor.com to the sh command instead of displaying it.

The sh command calls a primitive language used by most *nix based systems. This executes the contents of install.meteor.com allowing the rest of the program to be installed.

If you want to see exactly what is being installed just browse on over to install.meteor.com to take a look.

Normally to install things you download the .sh file, run a change of permissions to allow the file to be executed, and then call it - this method gets around all this in one nice neat line.

You will see for yourself how awesome this platform is to develop on when I start posting some examples and tutorials, but lets just say that when they have made the install this elegant, you can be sure they have made the rest of it just as well.

Recent posts View all

Web DevProductivity

Keeping on top of website updates

Learn what website updates are, what they entail, why they are important, and how we can help

Freelancing

Getting the most out of your agency

Here are some tips based on years of working with, for, and as an agency on how to get the most out of any work you do.