Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To install Node.js, perform the following steps:

  1. Download Node.js from the following link: https://nodejs.org/en/. The Node.js page appears.

...


  1. Note

    At the time of writing this

...

  1. guide, the mature and dependable version of Node.js for OS X (x64) was 4.3.1. The instructions

...

  1. on this

...

  1. page are provided for the steps in the Node.js v4.3.1 installation wizard. The screens in the installation wizard are dependent on the version you have downloaded. If you have downloaded a different version, you might have lesser or more steps in the wizard. The instructions here are just a guideline to install the pre-requisites.


    Image Modified

  2. Click to download Node.js.

    The Node.js package file (.pkg) is saved to the Downloads folder.

    Tip

...

  1. Similar to Windows Explorer in Windows systems, Mac systems have the Finder application to view files and folders. You can access Finder by clicking the Finder (Image Modified) icon in the system dock as shown in the following screenshot:

    Image Modified


  2. After opening Finder, click Downloads on the left-hand side to view the downloaded files:

    Image Modified

  3. Double-click the Node.js package file.

    The Node.js installation wizard appears with the Introduction window.

    Image Modified

  4. Click Continue. The License Agreement window appears.
  5. Click Continue. The Destination Select window appears.
  6. Click Continue. The Installation Type window appears.

    Image Modified

  7. Click Install.

    The installation wizard might prompt you for a password. Enter your system login password and press Enter to continue. The wizard installs Node.js. Once the installation is complete, the Summary window appears.

    Image Modified

  8. Click Close.


To check the version of Node.js installed, perform the following steps:

  1. Press Command () + Spacebar. The Spotlight Search box appears.

    Image Modified

  2. Enter "Terminal" in the search box. Search results appear.

    Image Modified

  3. Double-click Terminal from the search results. The Terminal window appears.

    Image Modified

  4. To check the version of Node.js installed, enter the following command:

    Code Block
    languagebash
    $ node –v


    The installed version of Node.js is displayed.

    Image Modified

  5. Continue with the Install Cordova section.

...