Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Node distribution toolkit -- Create and install a node distribution in seconds
tag: 0.0.4

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
.gitignore
History.md
Readme.md
install

Readme.md

nDistro

Node distribution shell script. nDistro allows you to build your own node distribution using a simple configuration file, without dependencies large programs. To contribute a node binary head over to nodes.

Installation

 $ cd /usr/local/bin && curl http://github.com/visionmedia/ndistro/raw/master/install | sh

Example distribution

A nDistro is simply a dotfile named .ndistro which defines module and node binary version dependencies. In the example below we specify the node binary version 0.1.102, as well as several 3rd party modules.

node 0.1.102
module senchalabs connect
module visionmedia express 1.0.0beta2
module visionmedia connect-form
module visionmedia connect-redis
module visionmedia jade
module visionmedia ejs

Follow the installation step above to gain access to the ndistro executable, and then in your distro directory that contains .ndistro run:

$ ndistro

Sharing Distributions

To share distributions create a .ndistro GitHub repository, after which you can push several distributions, for some examples view mine here.

To list a user's distributions execute:

$ ndistro visionmedia

To install one to the CWD run:

$ ndistro visionmedia redis

or $ ndistro visionmedia express

node

Specifies the version of node to install.

node 0.1.102

module <user> <project> [version]

Installs user's project at the given version or HEAD.

module visionmedia express
module visionmedia express 1.0.0beta2

Contributors

License

(The MIT License)

Copyright (c) 2010 TJ Holowaychuk <tj@vision-media.ca>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.