Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.26 KB

File metadata and controls

27 lines (21 loc) · 1.26 KB

install

Usage Synopsis
General $ tns install [--path]

Installs all platforms and dependencies described in the package.json file in the current directory.

<% if(isHtml) { %> The package.json file must be a valid package.json describing the configuration of a NativeScript project. If missing or corrupted, you can recreate the file by running $ tns init in the directory of a NativeScript project. <% } %>

Options

  • --path - Specifies the directory where you want to create the project, if different from the current directory. The directory must be empty.

<% if(isHtml) { %>

Related Commands

Command Description
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 update Updates the NativeScript runtime for the specified platform.
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.
<% } %>