Sitelet https://github.com/nodejs/node/issues/86#top
Skip to content

Installation via curl #86

Description

@atomantic

Getting started with any app should be as simple as curl https://somepath.to/install.sh | sh

or brew install io.js, etc...

Activity

  1. kenany commented on Dec 5, 2014

    @kenany
    Contributor

    Might be able to use one of these options: https://gist.github.com/isaacs/579814

  2. atomantic commented on Dec 5, 2014

    @atomantic
    Author

    Yeah, io.js will need a composite script that detects your OS and state of current node installation, then makes the right call--even better if it prompts the user with friendly queries for items of preference :)

    \[._.]/ - I see that your python binary is in a non-standard location.
    What's your path to python?
    ... [ok], installing stuff.... weeee!
    

    but then, maybe I like cheeky software more than most people.

  3. toddself commented on Dec 5, 2014

    @toddself
    Contributor

    Although you should never ever ever pipe a script from the internet into your shell to be honest.

    You can create your own tap for homebrew.

  4. nakp commented on Dec 5, 2014

    @nakp

    I don't want to spam but... this repo could be featured here

  5. atomantic commented on Dec 5, 2014

    @atomantic
    Author

    Though blindly piping things from the internet is agreeably a bad practice, running brew install or even git clone... make is yet another way people execute arbitrary code from the internet. Adding a curl friendly install doesn't make anyone any less secure. A curl friendly install file is meant to simplify the process of setting up and getting running quickly, specifically in regard to users having to think about what brand of OS they are running and which package management tool or installation scenario is best for their given situation.

    Any time I see a slew of things in a getting started guide like "If you are running x, then do this... and if you are running y, then use this method..." I think, "this is missing automation via a shell script."

  6. dunn commented on Dec 6, 2014

    @dunn

    Homebrew won't take it until there's a stable release.

  7. indutny commented on Dec 7, 2014

    @indutny
    Member

    Sorry, but curl thing is really unsafe. I'm quite sure that you could create and use a gist for it, though, without it being an official way to install iojs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions