n8n-cli

Manage n8n workflows, credentials, and executions via REST API and CLI.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/Uguryldz/nnnnn8n --skill n8n-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n8n-cli
Source: https://github.com/Uguryldz/nnnnn8n/tree/main/packages/%40n8n/cli/skills/n8n-cli
Command: npx skills add https://github.com/Uguryldz/nnnnn8n --skill n8n-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate and simplify administration of an n8n instance by exposing its REST API and CLI for scriptable control of workflows, credentials, and executions.

Core Features & Use Cases

  • Manage workflows: list, get, create, update, and delete workflows from scripts or prompts.
  • Handle credentials and executions: inspect, create, and retry executions via the CLI.
  • Seamless scripting integration: auto-detects piped input and outputs JSON for easy composition with other tools.

Quick Start

Connect to your n8n instance by logging in with n8n-cli login, then list workflows with 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 to interact with the n8n REST API. This approach enables scriptable control to list, create, update, and delete workflows directly from terminal prompts.

Can I automate n8n credential management via scripts?

Yes, you can automate n8n credential management via scripts by utilizing CLI commands that interface with the n8n REST API. This enables scriptable creation, inspection, and handling of credentials alongside workflow executions.

Does the n8n CLI support JSON input and output for scripting?

Yes, the n8n CLI supports JSON input and output for scripting. It auto-detects piped input and outputs JSON, which allows for seamless composition and integration with other command line tools in your automation pipeline.

What is required to automate n8n instance administration via API?

To automate n8n instance administration via API, you need access to a running n8n instance. You must first login through the CLI to configure access, after which you can orchestrate workflows, credentials, and executions.

How do I retry failed n8n executions from a terminal prompt?

You can retry failed n8n executions from a terminal prompt by executing specific CLI commands that interact with the n8n REST API. This provides scriptable control to inspect past executions and trigger retries directly.