Posts

React Native - Setting up your development Environment using Chocolatey (Windows)

Image
Hi guys, this tutorial will walk you through how to setup your development environment in windows using chocolatey.  To install this chocolatey , I have already shared a  installation guide . We need some of the tools for development such as, Visual Studio Code Editor (any IDE) Android Studio Build in Android Studio Emulator (or a real device) Node.js (latest LTS version is recommended) React Native CLI Git CLI (for some package in NPM) Python (for some packages in NPM) Java Development Kit (Latest LTS version is recommended) There are two ways to create a react native project. One is using the React Native CLI and the other is using Expo CLI. Using the second method will make your life easier, however you have your own pros and cons (will be shared in later). Installation Steps For to install the latest Java JDK(Java Development Kit) using chocolatey, I've an another  installation guide . Packages are installed using chocolatey, as because it has many advantages such as follows, e

How to install java using chocolatey / choco in windows

What is chocolatey? Chocolatey is a CLI (command line interface) based package manager tool for windows. Using this package manager many software can be installed without any hassle of configuring the environment path in windows and installing many software can be done with a single command. To install this chocolatey, I have already shared a installation guide . How to install java using choco? After installing chocolatey / choco, run the following command in a regular command prompt or Powershell prompt to install JAVA SE. C:\>choco install jdk8 Chocolatey v0.10.15 Installing the following packages: jdk8 By installing you accept licenses for the packages. jdk8 v8.0.211 already installed. Forcing reinstall of version '8.0.211'. Please use upgrade if you meant to upgrade to a new version. Progress: Downloading jdk8 8.0.211... 100% jdk8 v8.0.211 [Approved] jdk8 package files install completed. Performing other installation steps. The package jdk8 wants to run 'chocolat

How to install Chocolatey / choco in Windows

Steps to Install chocolatey/choco on Windows Go to Start and type “ powershell “ Right-click Windows Powershell and select “ Run as Administrator “ Paste the following command into Powershell and press enter. Set-ExecutionPolicy Bypass -Scope Process -Force; ` iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1') Answer Yes when prompted Close and reopen PowerShell window to start using choco Choco is now installed and can be used from a PowerShell or Command prompt  windows to install different software packages. Whichever one you use, just make sure you run choco from a powershell/command prompt window. Package Search with choco choco search [keyword] You can search the choco repository to see exactly what software chocolatey can install. C:\>choco search hugo Chocolatey v0.10.8 hugo 0.32.2 [Approved] Downloads cached for licensed users pcwrunas 0.4.0.20161129 [Approved] Downloads cached for licensed users lightworks 14.0.0.20171007