<commit_before>---
id: running-on-device-windows
title: Running On Device
layout: docs
category: Guides (Windows)
permalink: docs/running-on-device-windows.html
---

## Running the Universal Windows App

Running a React Native Universal Windows app is easy. Open your solution in Visual Studio 2015, follow the instructions below for the device family you want to deploy to, and press F5. Visual Studio will pull in the NuGet dependencies, build, deploy, and launch the application.

We're also planning on creating a `run-windows` command. In the meantime, just use Visual Studio. 

### Desktop

Set the Platform build target to something compatible with your host OS, and choose the Local Machine deployment target.

![Deploy Local Machine](img/DeployLocalMachine.png)<commit_msg>Update RunningOnDeviceWindows.md<commit_after>---
id: running-on-device-windows
title: Running On Device
layout: docs
category: Guides (Windows)
permalink: docs/running-on-device-windows.html
---

## Running the Universal Windows App with react-native-cli

You can deploy your react-native-windows app to the Desktop using the [react-native-cli](http://npmjs.com/packages/react-native-cli):
```
react-native run-windows
```
For more information on the kinds of options and flags available for deploying to devices and emulators, use the `--help` flag to get the command usage information.

## Running the Universal Windows App with Visual Studio

Open your solution in Visual Studio 2015, follow the instructions below for the device family you want to deploy to, and press F5. Visual Studio will pull in the NuGet dependencies, build, deploy, and launch the application.

### Desktop

Set the Platform build target to something compatible with your host OS, and choose the Local Machine deployment target.

![Deploy Local Machine](img/DeployLocalMachine.png)
{'fraction_non_alphanumeric': 0.07278652906029331, 'fraction_numerical': 0.005431830526887561, 'mean_word_length': 4.8107255520504735, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '901780', 'n_tokens_mistral': 475, 'n_tokens_neox': 450, 'n_words': 233}