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.
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. |