How to Add Node JS Repository for Debian Based OSes

November 11, 2017 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Setting Up Repo

  1. 2. Setting Up NodeJS Repository

    Then Add Node JS Apt Repository
    (The 8 Release is Recommended for Debian 7 and Below)
    For Current node.js 14:

    curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -

    For node.js 12 Active LTS:

    curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

    And for node.js 11:

    curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -

    Instead, for node.js:

    curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

    Finally, for 8 LTS:

    curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

Contents


Tags: , ,

QuickChic Theme • Powered by WordPress