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

NativeScript Angular

tns extension install

Description

Installs specified extension. Each extension adds additional functionality that's accessible directly from NativeScript CLI.

Commands

Usage Synopsis
General $ tns extension install <Extension>

Arguments

  • <Extension> can be any of the following.
    • A <Name> or <Name>@<Version> where <Name> is the name of a package that is published in the npm registry and <Version> is a valid version of this plugin.
    • A <Local Path> to the directory which contains the extension, including its package.json file.
    • A <Local Path> to a .tar.gz archive containing a directory with the extension and its package.json file.
    • A <URL> which resolves to a .tar.gz archive containing a directory with the extension and its package.json file.
    • A <git Remote URL> which resolves to a .tar.gz archive containing a directory with the extension and its package.json file.
Command Description
extension Prints information about all installed extensions.
extension-uninstall Uninstalls specified extension.
autocomplete-status Prints the current status of your command-line completion settings.
autocomplete-enable Configures your current command-line completion settings.
autocomplete-disable Disables command-line completion for bash and zsh shells.
usage-reporting Configures anonymous usage reporting for the NativeScript CLI.
error-reporting Configures anonymous error reporting for the NativeScript CLI.
doctor Checks your system for configuration problems which might prevent the NativeScript CLI from working properly.
proxy Displays proxy settings.
proxy clear Clears proxy settings.
proxy set Sets proxy settings.
update Updates the project with the latest versions of iOS/Android runtimes and cross-platform modules.