Chocolatey

      Chocolatey无评论

Chocolatey is a package manager for Windows similar to yum and apt-get. See the websitefor updated instructions, but installing from the Terminal should be something like:

@powershell NoProfile ExecutionPolicy Bypass Command “iex ((new-object net.webclient).DownloadString(‘https://chocolatey.org/install.ps1’))” && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

Normally when you run Chocolatey to install a package, you should run your Terminal as Administrator.

Python 2

Fire up the Termimal and use Chocolatey to install Python 2.

Python 3 will currently not work when initializing a React Native project.

choco install python2

Node

Fire up the Termimal and use Chocolatey to install NodeJS.

choco install nodejs.install

React Native Command Line Tools

The React Native command line tools allow you to easily create and initialize projects, etc.

npm install g reactnativecli

If you see the error, EACCES: permission denied, please run the command: sudo npm install -g react-native-cli.

发表评论

电子邮件地址不会被公开。 必填项已用*标注