Skip to Content
Cloud Native Python
book

Cloud Native Python

by Manish Sethi
July 2017
Intermediate to advanced
374 pages
8h
English
Packt Publishing
Content preview from Cloud Native Python

Installing node

Before we start installing React and the package list, we need to have node.js installed on our system.

In Linux (Debian-based system), the process of installation is pretty simple.

First, we need to add PPA from the node.js official website by using the following commands:

$ sudo apt-get install python-software-properties
$ curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -

Once it is set up, we can install node.js with the following command:

$ apt-get install nodejs 

Now let's check the node and npm versions, as follows:

$ npm -v
  4.1.2 
$ node -v
  V7.7.4 

In our setup, we use the aforementioned version, but the node version around v7.x should be fine, and for npm, v4.x should work fine.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python for DevOps

Python for DevOps

Noah Gift, Kennedy Behrman, Alfredo Deza, Grig Gheorghiu
Cloud Native

Cloud Native

Boris Scholl, Trent Swanson, Peter Jausovec

Publisher Resources

ISBN: 9781787129313Supplemental Content