![]() ![]() You can check this by opening PowerShell and entering: wsl -l -v Install Windows Subsystem for Linux (WSL), including a Linux distribution (like Ubuntu) and make sure it is running in WSL 2 mode.Install the latest version of Windows 10 (Version 1903+, Build 18362+) or Windows 11.If you are creating a single-page app (SPA) that you would like to use Bash commands or tools with and/or plan to deploy to a Linux server, we recommend that you install with create-react-app on Windows Subsystem for Linux (WSL).įor more general information about React, deciding between React (web apps), React Native (mobile apps), and React Native for Windows (desktop apps), see the React overview. We recommend following these instructions if you are new to React and just interested in learning. Less-common operating systemsįor more information on installing Node.js on a variety of operating systems, see this page.This guide will walk through installing React directly on Windows using the create-react-app toolchain. Or see this page to install npm for Linux in the way many Linux developers prefer. One of the installers on the Node.js download page.If you're using Linux or another operating system, use one of the following installers: Linux or other operating systems Node installers ![]() Other versions have not yet been tested with npm. Be sure to install the version labeled LTS. If you're using OS X or Windows, use one of the installers from the Node.js download page. ![]() If you use Linux, we recommend that you use a NodeSource installer. If you are unable to use a Node version manager, you can use a Node installer to install both Node.js and npm on your system. ![]() Using a Node installer to install Node.js and npm Node version managers allow you to install and switch between multiple versions of Node.js and npm on your system so you can test your applications on multiple versions of npm to ensure they work for users on different versions. Npm -v Using a Node version manager to install Node.js and npm ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |