NOTE! You are browsing legacy documentation. For latest visit docs.nativescript.org.

NativeScript Core

tns update

Description

Updates the project with the latest versions of iOS/Android runtimes, cross-platform modules and "@nativescript/webpack". In order to get the latest development release instead, pass next as argument: tns update next

You can also switch to specific version by passing it to the command: tns update 5.0.0

NOTE: The provided version should be an existing version of the project template for this project type.

Commands

Usage Synopsis
General $ tns update
Command Description
usage-reporting Configures anonymous usage reporting for the NativeScript CLI.
error-reporting Configures anonymous error reporting for the NativeScript CLI.
autocomplete Prints your current command-line completion settings. If disabled, prompts you to enable it.
help Lists the available commands or shows information about the selected command.
doctor Checks your system for configuration problems which might prevent the NativeScript CLI from working properly.
proxy Displays proxy settings.
proxy clear Clears proxy settings.
proxy set Sets proxy settings.
update Updates the project with the latest versions of iOS/Android runtimes and cross-platform modules.