<% if (isJekyll) { %>---
title: tns platform update
position: 8
---<% } %>
# tns platform update
==========

Usage | Synopsis
------|-------
Update with the latest version |`$ tns update`
Update with specific version | `$ tns update <version>`

Updates a NativeScript project to the latest (or specified) version.

### Related Commands

Command | Description
----------|----------
[install](install.html) | Installs all platforms and dependencies described in the `package.json` file in the current directory.
[platform add](platform-add.html) | Configures the current project to target the selected platform.
[platform remove](platform-remove.html) | Removes the selected platform from the platforms that the project currently targets.
[platform](platform.html) | Lists all platforms that the project currently targets.
[prepare](prepare.html) | Copies common and relevant platform-specific content from the app directory to the subdirectory for the selected target platform in the platforms directory.
[platform update](platform-update.html) | Updates the NativeScript runtime for the specified platform.
[resources update android](resources-update.html) | Updates the App_Resources/Android directory to the new v4.0 directory structure