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

NativeScript Core

tns plugin

Description

Lets you manage the plugins for your project.

Commands

Usage Synopsis
List plugins $ tns plugin
Manage plugins $ tns plugin <Command>

Arguments

<Command> extends the plugin command. You can set the following values for this argument.

  • add - Installs the specified plugin and its dependencies.
  • remove - Uninstalls the specified plugin and its dependencies.
  • update - Uninstalls and installs the specified plugin(s) and its dependencies.
  • build - Builds the Android parts of a NativeScript plugin.
  • create - Creates a project for building a new NativeScript plugin.
Command Description
plugin add Installs the specified plugin and its dependencies.
plugin remove Uninstalls the specified plugin and its dependencies.
plugin update Updates the specified plugin(s) and its dependencies.
plugin build Builds the Android project of a NativeScript plugin, and updates the include.gradle.
plugin create Builds the Android project of a NativeScript plugin, and updates the include.gradle.