Popular `nativescript` terminal commands

Configure your current NativeScript project to target the selected platform.

Configures the current NativeScript project to target the selected platform. When you add a target platform, the NativeScript CLI creates a corresponding platform-specific subdirectory under the platforms directory. This platform-specific directory contains the necessary files to let you build your project for the target platform.

Authored by: erodriguezh

Build your NativeScript project for Android or iOS.

Builds your NativeScript project for Android or iOS and produces an application package that you can manually deploy on a device or native emulator.

Authored by: erodriguezh

Check Nativescript system's configuration.

Checks your system for configuration problems which might prevent the NativeScript CLI from working properly for the specified platform, if configured.

Authored by: erodriguezh

Clean your NativeScript project artifacts.

Cleans your NativeScript project artifacts.

Authored by: erodriguezh

Configure NativeScript CLI error reporting.

Configures anonymous error reporting for the NativeScript CLI.

Authored by: erodriguezh

Configure NativeScript command-line autocompletion.

Prints your current NativeScript command-line completion settings. If disabled, prompts you to enable it.

Authored by: erodriguezh

Configures your NativeScript project for unit testing with a selected framework.

Configures your NativeScript project for unit testing with a selected framework. This operation installs the @nativescript/unit-test-runner npm module and its dependencies and creates a tests folder in the app directory.

Authored by: erodriguezh

Configure NativeScript CLI usage reporting.

Configures anonymous usage reporting for the NativeScript CLI.

Authored by: erodriguezh

Create a NativeScript app.

Interactively creates a new NativeScript app based on a predefined template.

Authored by: erodriguezh

Initiate a debugging session for your NativeScript project.

Initiates a debugging session for your NativeScript project on a connected device or native emulator. The command will prepare, build, deploy and launch the app before starting the debug session.

Authored by: erodriguezh

Prepare, build and deploy your NativeScript project to a connected device or native emulator.

Prepares, builds and deploys your NativeScript project to a connected device or native emulator. It will deploy the app on all connected devices targeting the selected platform.

Authored by: erodriguezh

Display proxy settings of the NativeScript CLI.

Displays the current proxy settings of the NativeScript CLI.

Authored by: erodriguezh

Display version information about NativeScript.

Displays version information about the NativeScript CLI, core modules, and runtimes.

Authored by: erodriguezh

Generate all icons for Android and iOS platforms for your NativeScript project.

Generates all icons for Android and iOS platforms for your NativeScript. It places the generated images in the correct directories under App_Resources/<platform> directory.

Authored by: erodriguezh

Generate platform's (iOS and/or Android) typings for your NativeScript project.

Generate iOS & Android typings for your NativeScript project. By default respecting platform support, so no iOS typings generated on Windows/Linux machines.

Authored by: erodriguezh

Generate all splashscreens for Android and iOS platforms for your NativeScript project.

Generates all splashscreens for Android and iOS platforms for your NativeScript project. It places the generated images in the correct directories under App_Resources/<platform> directory.

Authored by: erodriguezh

Install dependencies for your NativeScript project.

Installs all dependencies described in a valid package.json or installs a selected NativeScript development module as a dev dependency.

Authored by: erodriguezh

List applications installed on a device using NativeScript CLI.

NativeScript lists the installed applications on all connected Android and iOS devices.

Authored by: erodriguezh

List all application records in iTunes Connect using NativeScript CLI.

NativeScript lists all application records in iTunes Connect. The list contains name, version and bundle ID for each application record.

Authored by: erodriguezh

List all recognized connected devices using NativeScript CLI.

NativeScript lists all recognized connected Android or iOS devices with serial number and index, grouped by platform.

Authored by: erodriguezh

Lists all platforms that your NativeScript project currently targets.

Lists all platforms that your NativeScript project currently targets. You can build and deploy your project only for these target platforms.

Authored by: erodriguezh

Manage Plugins in your NativeScript project.

Lets you manage the plugins for your NativeScript project.

Authored by: erodriguezh

Migrate Nativescript dependencies to the latest version.

Migrates the app dependencies to a form compatible with the latest NativeScript. Running this command will not affect the codebase of the application and you might need to do additional changes manually.

Authored by: erodriguezh

Open the device log stream using NativeScript CLI.

NativeScript opens the device log stream for a selected connected Android or iOS device.

Authored by: erodriguezh

Prepare the app's App_Resources and the plugins platforms directories in your NativeScript project.

Starts a Webpack compilation and prepares the app's App_Resources and the plugins platforms directories in your NativeScript project. The output is generated in a subdirectory for the selected target platform in the platforms directory. This lets you build the project for the selected platform.

Authored by: erodriguezh

Remove the selected platform from your NativeScript project.

Removes the selected platform from the platforms that your NativeScript project currently targets. After removing the target platform, you can no longer build and deploy your app on devices which run on the platform.

Authored by: erodriguezh

Run the selected NativeScript application on a connected device.

Runs the selected NativeScript application on a connected Android or iOS device.

Authored by: erodriguezh

Run the NativeScript project for Android or iOS.

Runs your NativeScript project on all connected devices or in native emulators for the selected platform. The command will work with all currently running Android devices and emulators. The command will prepare, build and deploy the app when necessary. By default listens for changes in your code, synchronizes those changes and refreshes all selected devices.

Authored by: erodriguezh

Run unit tests on your NativeScript project.

Runs unit tests on the selected mobile platform. Your NativeScript project must already be configured for unit testing by running $ ns test init.

Authored by: erodriguezh

Show current package manager using NativeScript CLI.

NativeScript prints the value of the current package manager.

Authored by: erodriguezh

Show information about the NativeScript CLI commands in the browser.

Shows additional information about the NativeScript CLI commands in this list in the browser.

Authored by: erodriguezh

Update Nativescript dependencies to the latest version.

Updates your NativeScript project with the latest versions of iOS/Android runtimes, cross-platform modules and @nativescript/webpack.

Authored by: erodriguezh

Update the NativeScript runtime for the specified platform.

Updates the NativeScript runtime for the specified platform.

Authored by: erodriguezh

Update the App_Resources's folder structure in your NativeScript project.

Updates the App_Resources/'s internal folder structure in your NativeScript project to conform to that of an Android Studio project.

Authored by: erodriguezh

Upload NativeScript project to iTunes Connect.

Uploads your NativeScript project to iTunes Connect. The command either issues a production build and uploads it to iTunes Connect, or uses an already built package to upload.

Authored by: erodriguezh