Skip to content

Difference between "tns plugin add" and "tns plugin install" #3677

@cvietor

Description

@cvietor

Hi,
is there any difference between these two commands ? As far as i can tell, the docs are the same and they seem to do the same thing.

Edit:
After looking into the code, i realised that the "install" command actually runs the "add" command :)

bootstrap.ts:
$injector.requireCommand("plugin|add", "./commands/plugin/add-plugin"); $injector.requireCommand("plugin|install", "./commands/plugin/add-plugin");

Should be mentioned in the docs that "install" is actually just an alias for "add" to avoid confusion.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions