Install React native Environment under window

Source: Internet
Author: User
Tags install node



Installation method is almost the same as react native Chinese network, in fact, referring to the installation of the site ~



1, installation Chocolatey,cmd execution:


@powershell-noprofile-executionpolicy Bypass-command "IEX (New-object net.webclient). Downloadstring (' Https://chocolatey.org/install.ps1 ')) "&& SET path=%path%;%allusersprofile%\chocolatey\ Bin

 


Verify that the installation is successful, see if the system variable has chocolateyinstall, and then prove that the installation was successful.



2. Install Python 2 (Python3 version is currently not supported)


Choco Install Python2


3. Install node


Choco Install Nodejs.install


After you install node, set up NPM mirroring acceleration:


npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global


4. Install yarn and set up mirroring acceleration


NPM install-g Yarn
yarn config set registry https://registry.npm.taobao.org --global
yarn config set disturl https://npm.taobao.org/dist --global


5, Installation React-native-cli


NPM install-g REACT-NATIVE-CLI


6, Installation Jdk8


Choco Install Jdk8


Configure Java Environment variables: (System variables)


    • New java_home variable, variable value fill in the JDK installation directory (e.g. C:\Program files\java\jdk1.8.0_144)
    • Look for the PATH variable, enter%java_home%\bin;%java_home%\jre\bin at the end of the variable value, (notice that the value of the variable at the end of the path is not there; number, if not, enter first;)
    • New CLASSPATH variable, variable value filled in.; %java_home%\lib;%java_home%\lib\tools.jar (Note that there is a point in the front)
    • CMD input: Javac-version Verify Success


7. Download Android Studio



In view of the national conditions, can be downloaded to the Android Studio Chinese network: http://www.android-studio.org/, but I am sad is the waiting time 96 hours, a whole weekend will not finish ... Firmly post the link: Https://pan.baidu.com/s/1eSnIJLK Password: F5UV



Because the file is too large, the drive letter is full of this end ...



Install React native Environment under window


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.