$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Manage Node.js Versions Easily with N on MX Linux

September 25, 2023 | By the+gnu+linux+evangelist.

How to Manage Node Versions

  1. 2. Installing N

    Then to Install N Package on MX
    Simply run:

    sudo npm install -g n
  2. 3. Setting NodeJs Version

    Now to Install & Manage Node.js Versions
    And then Install and Set the Latest Version:

    sudo n latest

    Next, Open a New Terminal Window and Check it:

    node --version

    To switch back to the Lastest LTS Version:

    sudo n lts

    You can easily Setup any available one, like:

    sudo n 12.13.0

    For Help type:

    n --help

    And for further Insight see the Official Documentation.

Contents