I don't know nexe, but another aproach is to make an installable for every
platform you will want to support.

I did one for windows (using msi) for one of our artifacts and I extracted
a template here:

https://github.com/auth0/nodejs-msi

I've read a series of blog posts from AJ ONeal about packaging node.js
applications:

http://blog.coolaj86.com/articles/how-to-create-an-osx-pkg-installer.html
http://blog.coolaj86.com/articles/how-to-create-a-debian-installer.html
http://blog.coolaj86.com/articles/how-to-create-an-innosetup-installer.html

I found this project interesting to create RPM (CentOS/ RedHat) from
node.js modules:

https://github.com/sfreire/njs2rpm

These package can include the node binary and license which is usually
small, or a dependency to the nodejs package deb/rpm/whatever if there is
one for the platform.

I like the approach of using the most native thing for the operative
system, so for instance, although "setup.exe" in windows are very common
"msi" is more standard.

I hope this help you,

regards


2014/1/16 Piyush Ranjan <piyush...@gmail.com>

> Thanks for the reply. I did try nexe and going ahead with it!
>
> Piyush
>
>
> On Thu, Jan 16, 2014 at 12:40 AM, Alex Kocharin <a...@kocharin.ru> wrote:
>
>>
>> You might find this - https://github.com/crcn/nexe - interesting.
>>
>> --
>> // alex
>>
>>
>> 15.01.2014, 23:06, "Piyush Ranjan" <piyush...@gmail.com>:
>>
>> Hello
>> I am in process of writing a nodejs application that would be accessible
>> to users via npm install. For users, who do not have node installed, I
>> would like to ship a standalone app. Is there a way to do with nodejs ? I
>> do not have a UI in this application i.e. it is a CLI. I have seen
>> node-webkit and I have played with http://appjs.com/.
>>
>> I would like to summarize what I want
>> 1. node.js CLI app. All javascript, as much as possible.
>> 2. Standalone
>> 3. Should work on mac osx, windows and linux
>> 4. Native GUI is not needed
>>
>> Any pointers would be really appreciated.
>>
>> Piyush
>>
>>
>>
>>
>>
>>
>> --
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to nodejs@googlegroups.com
>> To unsubscribe from this group, send email to
>> nodejs+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "nodejs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to nodejs+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>  --
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to nodejs@googlegroups.com
>> To unsubscribe from this group, send email to
>> nodejs+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "nodejs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to nodejs+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nodejs+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to