Install NPM

⚠️Before you start - Node Version

To use Slice Machine you will need to have at least version 12.16.1 of node installed on your machine. You can check this by running the node -v command in your terminal.

Install Node

Node.js is used to power most modern Javascript frameworks to help you build websites fast and easy. NPM (Node Package Manager) is used to install the various node dependencies used to power the Slice Machine.

On this page, we'll show you how to set up your local machine to allow you to build websites offline. Luckily though, this is something that is very well documented already. So we'll allow William Vincent and his slick tutorials to take you through the process.

You can follow his tutorial for Mac or for Windows depending on your machine.

Update Node

If you already have Node installed but need to update it, then you can do so using (NVM) Node Version Manager, NPM or using the installer on Nodejs.org. This article explains how to to do that for whichever OS you are using.

NPX

NPX will be used to create a new Nuxt.js project. It comes pre-installed on the latest NPM, though on some older versions of NPM it's not pre-installed. You can check the latest version here. Check your NPX version with npx -v .

Install the latest NPX with the command below.

npm install -g npx

If that doesn't work...

sudo npm install -g npx
9 Rue de la Pierre Levée, 75011 Paris