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

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 Creates a new project for NativeScript plugin development.