Skip to content
Johan Hernandez edited this page Nov 23, 2011 · 1 revision

Node.js and NPM

You are gonna need node.js and NPM properly working in your computer. Follow the steps of this this guide to install both.

Installing from NPM

You should install it globally using the global option like this:

npm install fire -g

That way the firejs command line utility should be available from anywhere in your computer.

If you just want to install it for your local project(without the -g option) that's also a perfectly valid choice but then you need to be in the project directory to use firejs, the command line utility:

node_modules/.bin/./firejs

Checking

When you are done installing it you can use the command line utility, if it's working properly you should see something like this:

$ firejs
Fire.JS Runtime version 0.1.0
usage: firejs TheProject.Main.fjson
usage: firejs package.json
options:
	--print-expressions: prints all the expression names and flags loaded by the runtime as a JSON document to stdout
	--porcelain-errors: prints errors to stderr in JSON format

Copyright (C) 2011 Firebase.co and Contributors. http://firejs.firebase.co

Now that you have the running running check the Getting Started guide.