Node.js : installation standalone

Posté le samedi 14 avril 2012 à 5 h 02, Read it in english with Google

nodejs-logo-lightAllez c’est partit pour un premier article rapide : comment installer Node.js en mode standalone, ou mode portable, c’est à dire sans l’intégrer au système.

Ceci peut vous permettre de le faire tourner sur des hébergement où vous n’avez pas la main, si tant est que les librairies requises soient disponibles. Vous pouvez même le compiler chez vous et l’exécuter sur le serveur si les noyaux sont semblables, car Nodejs n’a besoin de rien d’autre que lui même pour tourner.

Préalablement, installez les librairies requises (ici on est sur Debian, je vous laisse vous reporter à d’autre articles pour les différents systèmes):


Vous téléchargez la dernière version et vous la compilez, sans l’intégrer au système (pas de make install):


Maintenant vous pouvez lancer Nodejs avec, tout simplement :


En ce qui concerne le gestionnaire de paquet de Nodejs : npm, c’est un peu plus compliqué.

Il faut créer un script dans le répertoire de Node :

span class="st0">'#!/bin/sh
node=`dirname "$0"`/node
$node "`dirname "$0"`/deps/npm/bin/npm-cli.js" "$@"

Vous pouvez maintenant lancer npm avec la commande


Attention tout de même avec les paquets installés globalement (avec l’option -G), ils se mettent dans le répertoire au dessus. Mais la nouvelle phylosophie sur les paquets de node tend à les distribuer localement, par application (dans le répertoire node_modules à la racine de votre app).

Au final, on pourrait même créer un script qui installe automatiquement la dernière version de Nodejs dans le répertoire /node et crée/met à jour des liens symboliques de node et npm dans ce même répertoire, pour pouvoir toujours garder Nodejs à jour.

Bon, j’ai encore des choses à revoir dans ma méthode de rédaction d’un article court.

14 réponses à “Node.js : installation standalone”

  1. Felix Pantaleon

    Believes that the USA poker market is in a much wanted transition part.

    The Black Friday occasion and the media frenzy that ensued
    were stepping stones in the direction of a regulated poker surroundings.
    And legalization could be across the corner. On October 25th 2011, a congressional hearing occurred on the Home Subcommittee on Commerce, Manufacturing and Commerce.

  2. bao da ipad

    After looking at a handful of the blog posts on your web page,
    I honestly like your way of writing a blog. I saved it to my bookmark site list and will
    be checking back soon. Please check out my web site too and let me know how you feel.

  3. iphone

    Your style is unique compared to other people I’ve read stuff from.
    Thanks for posting when you have the opportunity, Guess I will
    just book mark this site.

  4. Elvia

    Useful info. Lucky me I discovered your web site by chance,
    and I am shocked why this accident did not happened in advance!
    I bookmarked it.

  5. Judi Poker

    Simply want to say your article is as astonishing.
    The clearness in your post is simply great and i could assume
    you are an expert on this subject. Well with your permission let me to grab your feed to keep updated with forthcoming post.
    Thanks a million and please continue the gratifying work.

  6. bandar389

    Pretty! This was an incredibly wonderful article.
    Thank you for providing these details.


    These are actua?ly enormous ideas ?n regarding blogging.
    ?ou ha?e touched som? ?ood factors ?ere. Anyy way keeep ?p wrinting.

  8. Bukadepoxito

    There are a lot of bookies in Indonesia who have been motivated to near their businesses previously Indonesia
    adopted a feign that prohibits all forms of
    gambling. Because of this phenomenon and is supported
    by technological advances that are certainly rapid, in the past next all gambling comings and
    goings are no longer carried out freely and isolated shaped online such as online soccer betting or online casino.

    Progress is not without challenges, because the easier admission to information technology,
    many irresponsible people begin to acknowledge advantage.
    Looking for pension by scouting gambling agents and utilizing the fans
    of gambling off protect by scamming, fraud, phishing, etc.

    Different from Us! Our ascribed site only gives members
    right of entry to soccer gambling and online casino games
    that have been proven safe and reliable. Gambling games from gambling game provider sites that we
    offer, have a categorically fine reputation, both in terms
    of the system and its services to customers.


    Userbola is a reliable maxbet agent that has collaborated with official maxbet providers since 2014.
    All of us are tasked with serving betting players who wish to
    register for an established maxbet account in Indonesia.
    We here as a maxbet list site also have an recognized PAGCOR license to market online gambling video games.
    In addition, Userbola as a maxbet agent always gets positive input from betting members
    such as fast deal services, safe repayments and complete gambling games.

    The data of members who have registered at a trusted maxbet
    agent userbola are also protected securely. The userbola team also always provides benefits to all betting members every week
    such as a rebate reward or cashback that you will not
    get on the official maxbet site. From the evaluation of our betting users and
    official providers who may have made userbola the quantity 1
    trustworthy maxbet agent in Indonesia.

    How to Register a Maxbet Account
    Gambling online players who want to register for a maxbet account through the
    trusted maxbet list site userbola only need some important data like the full name in line with the bank-account, account number, contact number that can be contacted,
    and email address. These data can be completed via the enrollment form on our


    Panduanjudi Login

    Panduanjudi is a trusted and certified poker site from
    PKV games server. We give 9 types of far along games that can be played using just one ID.
    The games we come up with the money for add
    up poker, domino99, bandarq, aduq, sakong, bandar66
    and plus capsa susun. In auxiliary to having a large variety of games, after that has several attractive promos that can be enjoyed directly after living thing registered as a member.
    with unconditional weekly cashback promos that are calculated
    from the total turnover, both winning and losing. moreover Panduanjudi essentially appreciate
    if there are members who invite connections or intimates
    to be in on our site by giving a referral supplementary of 10% to 20% of the number of turnover downline invited to play.

    To be the best poker site, Panduanjudi is always grating to
    intensify our facilities to be skillful to pay for the best experience
    in playing poker at our place. One of the ways is the Gambling lead provides a means of payment that reaches all elements of Indonesian society.
    By enthusiastic in the same way as leading banks and helpful Simpati and XL
    tab deposits. As well as which players can make
    deposits using E-wallets such as GoPay, OVO and Funds. additional than those mentioned above, of course there are yet advantages in Panduanjudi
    to be anxious to become the best poker sites such as:


    I kno? this web site g?ves quality dependent posts ?nd extra stuff, ?? there any other web pag? w?ic? p?ovides the?e data ?n quality?

  12. domino99

    I do consider all of thee concepts ??u’?e ?resented on your post.Th?y are very convincing
    andd can cert?inly work. N?netheless, t?? posts are ve?y ?rief for newbies.
    May ?ou ple?s? lengthenn them a ?ittle f?om next
    time? Thank? for t?e post.


    Online gambling is no longer just a game that
    is the end to fill spare time, now many people have made
    online gambling a profession that generates a
    lot of money, and this is essentially a reality. There is already a lot of evidence that
    shows that online gambling games have indeed been transformed into a enormously profitable business.

    Since shifting its form to online gambling, this game
    is increasingly way in to all circles. Where before online gambling was unaccompanied within reach to upper class people,
    now everyone can experience and get the same opportunity.
    following else can you find a situation that is profitable but
    also fun to do.

    The uniqueness of the online gambling industry in Indonesia is that Indonesians
    cannot register directly to online gambling sites that allow gambling
    games because they are blocked by Indonesian enactment which prohibits gambling.
    Therefore, a connecting portal is needed that can be a bridge
    amongst online gambling fans and online gambling game providers.

    Therefore, the presence of online gambling agents is no question important in Indonesia.

    The behave of online gambling agents is to allow domestic potential players later admission to games provided
    by online gambling sites by providing guidance to make an recognized account that can be used to log into the game.

    One of the approved online gambling agent sites that
    offer these services is
    has been re before 2017 and has become a link for millions
    of online gambling players in Indonesia to the
    best and most trusted online gambling game. For those of you who desire
    to register, you isolated infatuation to visit the site and
    register online.

  14. Abby

    Ion Casino

    Ion casino is a reliable and best online casino site
    coming from 2010 which includes offered millions of players
    in Asia. Ion casino or also referred to as Ionclub is typically the top ranking selection site because that provides the best experience for online gambling players in Philippines.
    With an established license to operate, this provider ensures that players
    create bets without danger, credibility and can be depended on.

Laissez un commentaire :