📺 "One project. One language. Three apps." Learn more in our upcoming code sharing webinar!

NativeScript Core

tns platform update

Description

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

Commands

Usage Synopsis
Update with the latest version $ tns update
Update with specific version $ tns update <version>
Command Description
install Installs all platforms and dependencies described in the package.json file in the current directory.
platform add Configures the current project to target the selected platform.
platform remove Removes the selected platform from the platforms that the project currently targets.
platform Lists all platforms that the project currently targets.
prepare 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 Updates the NativeScript runtime for the specified platform.
resources update android Updates the App_Resources/Android directory to the new v4.0 directory structure