You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

node-red-admin

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-admin

The Node-RED admin command line interface

4.1.1
latest
Source
npmnpm
Version published
Weekly downloads
21K
-30.2%
Maintainers
2
Weekly downloads
 
Created
Source

Node-RED Admin CLI

The Node-RED admin command line interface.

Tests Coverage Status

A command line tool for remotely administering Node-RED.

It is built into node-red and can be run as:

node-red admin ....

Standalone install

Install this globally to make the node-red-admin command available on your path:

npm install -g node-red-admin

Note: you may need to run this with sudo, or from within an Administrator command shell.

You may also need to add --unsafe-perm to the command if you hit permissions errors during installation.

Usage

Usage:
   node-red-admin <command> [args] [--help] [--userDir DIR] [--json]

Description:
   Node-RED command-line client

Commands:
   target  - Set or view the target URL and port like http://localhost:1880
   login   - Log user in to the target of the Node-RED admin API
   list    - List all of the installed nodes
   info    - Display more information about the module or node
   enable  - Enable the specified module or node set
   disable - Disable the specified module or node set
   search  - Search for Node-RED modules to install
   install - Install the module from NPM to Node-RED
   remove  - Remove the NPM module from Node-RED
   hash-pw - Creates a hash to use for Node-RED settings like "adminAuth"

By default, the tool stores its configuration in ~/.node-red/.cli-config.json. You can specify a different directory for the config file using the --userDir argument.

The --json option causes the tool to format its output as JSON making it suitable for scripting.

FAQs

Package last updated on 29 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts