DEV Community

yuellian
yuellian

Posted on

Installation Windows Set Up

Node.js - package manager

  1. Click on this link https://nodejs.org/en/
  2. Choose the LTS version to download.
  3. Once downloaded, an installation window will appear. Follow through the prompt.

NPM
NPM is installed when you install Node.js.
To check that both are in your system, open your command prompt and type
node --version
npm --version

Yarn

  1. Open command prompt and type install -g yarn
  2. To check if Yarn has successfully installed, type yarn --version

Open-wc
Create a folder for your projects in this class.
Open command prompt to that specific path
Type
npm init @open-wc

  1. A prompt will appear. Select "Scaffold a new project" "Web Component" Enable all tooling options (Linting, Testing, Demoing) "No" for Typescript Enter your project's name "Yes" to Write file structure to a disk Type npm run start You are ready to code your project.

Top comments (0)