n8n-cli

Manage n8n instances via CLI for workflows, credentials, and executions.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/Rub-git/n8n-auto --skill n8n-cli-rub-git
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n8n-cli
Source: https://github.com/Rub-git/n8n-auto/tree/main/packages/%40n8n/cli/skills/n8n-cli
Command: npx skills add https://github.com/Rub-git/n8n-auto --skill n8n-cli-rub-git

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires n8n-cli, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the management of n8n instances through the command line, enabling users to interact with workflows, credentials, executions, and more with ease.

Core Features & Use Cases

  • Workflow Management: Interact with workflows by listing, creating, updating, and deleting them.
  • Execution Management: List, get details, retry, stop, and delete executions.
  • Credential Management: List, get metadata, create, and delete credentials.
  • Project Management: List, get details, create, update, and delete projects.
  • Tag Management: List, create, update, and delete tags.
  • Variable Management: List, create, update, and delete variables.
  • Data Table Management: List, get, create, and delete data tables.
  • User Management: List and get user details.
  • Other Features: Security audit, source control, and view configuration.
  • Use Case: Imagine you need to automate the deployment of a new project in n8n. Use this Skill to create a workflow, set up credentials, and manage project configurations from the command line.

Quick Start

Use the n8n-cli to list all workflows in your n8n instance. n8n-cli workflow list

Frequently Asked Questions about n8n-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage n8n workflows from the command line?

You can manage n8n workflows from the command line by using a CLI tool to interact directly with the n8n REST API, allowing you to list, create, update, and delete workflows without accessing the web interface.

Can I automate n8n execution management and retry failed workflows via CLI?

Yes, execution management via CLI lets you list, get details, retry, stop, and delete executions. This automates n8n task operations and handles failed workflow runs directly from the terminal.

Do I need Bash scripting and n8n REST API access to use a CLI for n8n instances?

Yes, operating n8n instances through the command line requires Bash scripting and n8n REST API access, enabling you to automate tasks and manage configurations effectively.

What's the best way to automate n8n credential management in bulk?

The best way to automate n8n credential management in bulk is using a command-line interface, which lets you list, get metadata, create, and delete credentials programmatically across your instances.

Does CLI workflow management support n8n project and variable management?

Yes, CLI workflow management supports n8n project and variable management, letting you list, create, update, and delete projects and variables alongside managing data tables and user details.

Why use a CLI for n8n workflow management instead of the web interface?

Using a CLI for n8n workflow management automates repetitive tasks like project deployment and credential setup, enabling scriptable control over workflows, executions, and tags to streamline operations beyond manual web interface interaction.