mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-22 14:07:26 +00:00
* whtie label revamp * minor changes * updated beta info in copilot docs * renamed gds to ds in overview doc of v2.15 onwards * updated multienv: renamed gds to ds, updated screenshot * updated multienv: app state description * updated superadmin wrt new licensing updates * licensing update: free trial * updates in licensing * changes after review * [docs]updated restapi with bearer auth * Update kubernetes-aks.md * Update openshift.md * Update ecs.md * Update ecs.md * Update kubernetes-gke.md * Update kubernetes.md * Update docker.md * Update docker.md * Update ecs.md * Update google-cloud-run.md * Update kubernetes-aks.md * Update kubernetes-gke.md * Update kubernetes.md * Update openshift.md * Update kubernetes-gke.md * Update kubernetes-aks.md * fixed ecs, removed heroku from 2.15 onwards * updated digitalocean doc * licensing doc changes and location * Update digitalocean.md * Update digitalocean.md * added v2.18.0 --------- Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
93 lines
No EOL
2.2 KiB
Markdown
93 lines
No EOL
2.2 KiB
Markdown
---
|
|
id: tooljet-cli
|
|
title: ToolJet CLI
|
|
---
|
|
|
|
ToolJet CLI is a powerful tool that empowers developers to effortlessly create and enhance Marketplace plugins for ToolJet workspace.
|
|
|
|
:::info
|
|
Starting from ToolJet CLI version 0.0.14, the creation of datasource plugins has been deprecated to prioritise marketplace plugins. This change enhances the plugin development experience and aligns with ToolJet's roadmap.
|
|
:::
|
|
|
|
## Installation
|
|
|
|
In order to manage plugins for the ToolJet marketplace, including creating, updating, and deleting, you will need to utilize **[tooljet-cli](https://www.npmjs.com/package/@tooljet/cli)**. This can be installed via npm by entering the following command:
|
|
|
|
```bash
|
|
npm install -g @tooljet/cli
|
|
```
|
|
|
|
<div style={{textAlign: 'center'}}>
|
|
|
|
<img className="screenshot-full" src="/img/tooljet-cli/install.png" alt="ToolJet CLI installation" />
|
|
|
|
</div>
|
|
|
|
#### Ensure the installation was successful
|
|
|
|
```bash
|
|
tooljet --version
|
|
```
|
|
|
|
<div style={{textAlign: 'center'}}>
|
|
|
|
<img className="screenshot-full" src="/img/tooljet-cli/version.png" alt="ToolJet CLI version check" />
|
|
|
|
</div>
|
|
|
|
## Commands
|
|
|
|
### info
|
|
|
|
This command returns the information about where tooljet is being run
|
|
|
|
```bash
|
|
tooljet info
|
|
```
|
|
|
|
<div style={{textAlign: 'center'}}>
|
|
|
|
<img className="screenshot-full" src="/img/tooljet-cli/info.png" alt="ToolJet CLI info" />
|
|
|
|
</div>
|
|
|
|
### create
|
|
|
|
This command creates a new plugin.
|
|
|
|
```bash
|
|
tooljet plugin create PLUGIN_NAME
|
|
```
|
|
:::tip
|
|
Read the detailed guide on creating a marketplace plugin [here](/docs/contributing-guide/marketplace/creating-a-plugin).
|
|
:::
|
|
|
|
<div style={{textAlign: 'center'}}>
|
|
|
|
<img className="screenshot-full" src="/img/tooljet-cli/create.gif" alt="ToolJet CLI : create plugin" />
|
|
|
|
</div>
|
|
|
|
### delete
|
|
|
|
This command deletes a plugin.
|
|
|
|
```bash
|
|
tooljet plugin delete PLUGIN_NAME
|
|
```
|
|
|
|
The CLI will prompt developers to verify if the plugin to be deleted is a marketplace plugin before proceeding with the deletion.
|
|
|
|
<div style={{textAlign: 'center'}}>
|
|
|
|
<img className="screenshot-full" src="/img/tooljet-cli/delete.gif" alt="ToolJet CLI: delete plugin" />
|
|
|
|
</div>
|
|
|
|
### install
|
|
|
|
Installs a new npm module inside a tooljet plugin
|
|
|
|
```bash
|
|
tooljet plugin install [NPM_MODULE] --plugin <value>
|
|
``` |