ignitify

中文文档
1.2.2发布于 2026/11/04SEE LICENSE IN LICENSE零依赖

Developer CLI for Ignitify: pack, deploy, and run tasks

原始使用文档
文档目录14 节
  1. Install
  2. Quick start
  3. Commands
  4. Configuration
  5. Where the key is stored
  6. Exit codes
  7. Proxy
  8. Update
  9. Uninstall
  10. Platforms
  11. Privacy
  12. Versioning
  13. Support and security
  14. Licence

ignitify

The command line tool for the Ignitify service: create, deploy and run tasks.

Install

You need Node.js 22.13 or newer.

npm install --global ignitify
ignitify --version

In CI, or for one command, pin the version:

npx [email protected] whoami

If the install fails with EACCES, do not use sudo. Install Node.js with a version manager, as the npm guide tells you: https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally

Quick start

ignitify login                      # sign this machine in
ignitify whoami                     # show your account, limits and usage
ignitify task:create hello          # register a task and write its files
ignitify task:deploy hello          # build it on the platform
ignitify task:run hello --wait      # run it and print the result

Commands

Every command is <resource>:<verb>. Run ignitify help for the list, and ignitify <command> --help for the flags of one command. The full reference is at https://ignitify.dev/docs/cli (all commands in one table: https://ignitify.dev/docs/cli/all).

GroupCommands
Taskstask:create, task:list, task:get, task:delete, task:validate, task:pack, task:deploy, task:run
Integrationsintegration:add
Deploymentsdeployment:list, deployment:get, deployment:logs, deployment:delete
Runsrun:list, run:get, run:logs, run:delete, run:cancel
VMsvm:list, vm:get, vm:delete
Secretssecret:set, secret:list, secret:delete
Schedulesschedule:list, schedule:cancel
Webhookshook:create, hook:list, hook:delete, notify:set
Account and usagelogin, logout, whoami, quota, usage, usage:export, help

Global flags: --json (one JSON document on stdout), -h, --help, -v, --version. The delete and cancel commands also take -y, --yes (answer yes to the question, for scripts).

Configuration

VariableUse
IGNITIFY_API_KEYYour API key, for CI. It wins over the saved login; the CLI prints one note when both are present.
IGNITIFY_TASKS_DIRThe folder that holds your task folders. Default: tasks.
NO_COLORSet to any value to turn colour off.

In CI, put the API key in a CI secret and give it to the job as IGNITIFY_API_KEY.

Where the key is stored

ignitify login saves the key in $XDG_CONFIG_HOME/ignitify/credentials.json when XDG_CONFIG_HOME is an absolute path, else in ~/.config/ignitify/credentials.json. The folder has mode 0700 and the file has mode 0600. ignitify logout revokes the key and deletes the file.

Exit codes

CodeMeaning
0The command succeeded.
1The command failed. The CLI prints the error on stderr.
130You pressed Ctrl+C during a wait.

The code is the same under npx, npm exec and npm run, so a CI step fails when the command fails. In an npm script, use npm run --silent if you do not want npm's own error lines.

Proxy

The CLI uses the proxy settings of Node.js. Set NODE_USE_ENV_PROXY=1 together with HTTPS_PROXY (Node.js 22.21 or newer):

NODE_USE_ENV_PROXY=1 HTTPS_PROXY=http://proxy.example.com:3128 ignitify whoami

Update

npm install --global ignitify@latest

The CLI does not check for updates in the background. When the service needs a newer CLI, the CLI prints a warning on stderr.

Uninstall

ignitify logout
npm uninstall --global ignitify

The CLI keeps no data other than the credentials file, and ignitify logout deletes it.

Platforms

macOS and Linux (WSL included). Windows is not tested.

Privacy

The CLI sends no telemetry. It sends requests to the Ignitify API, and only when you run a command. Each request names the version of the CLI. Two commands also use the public npm registry: integration:add runs npm to download an integration package, and task:validate asks the registry for the latest version of each integration in the task (it skips this check when the registry cannot be reached). ignitify login also sends the name of your computer, or the name you give with --name, as the label of the new key.

Versioning

This package follows semantic versioning. The public surface is: command names, flags, exit codes, the --json output, IGNITIFY_API_KEY, IGNITIFY_TASKS_DIR, the credentials path, and the supported Node.js versions. A change that breaks one of these comes only in a new major version.

Support and security

Send bug reports and security reports to [email protected], or use https://ignitify.dev/contact. Docs: https://ignitify.dev/docs.

Never paste an API key into a report.

Licence

The CLI is free to install, run and read, but it is not open source: see LICENSE for what you may do. The files that commands write into your project are yours to use, change and share (LICENSE section 2). The licences of third-party code in this package are in ignitify-NOTICE.txt.

版本与发布记录

ignitify 共发布 7 个版本,首次发布于 2026/10/15;过去 12 个月发布了 7 个版本。

版本发布日期距今
1.2.2latest2026/11/041 天前
1.2.12026/11/031 天前
1.2.02026/11/032 天前
1.1.02026/10/305 天前
1.0.02026/10/1619 天前
0.0.12026/10/1520 天前

关于 ignitify 的常见问题

ignitify 是什么?

Developer CLI for Ignitify: pack, deploy, and run tasks

如何安装 ignitify?

在项目目录运行 npm install ignitify,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 ignitify,可以用 npx ignitify 直接运行。

ignitify 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/ignitify 是否存在。

ignitify 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.13。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

ignitify 可以商用吗?

ignitify 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

ignitify 还在维护吗?

最新版本 1.2.2 发布于 2026/11/04(1 天前);至今共发布 7 个版本,其中过去 12 个月发布了 7 个;首次发布于 2026/10/15。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。