Skip to main content

build

Install, compile, and verify a clean Elastic CLI checkout.

Informações da origem

Repositório
elastic/cli
Última atividade na origem
28 de setembro de 2026 às 18:54
Idioma detectado do SKILL.md
inglês
Estrelas
49
Forks
27

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
build
description
Install, compile, and verify a clean Elastic CLI checkout.
# Build Node.js 22+. If `tsc` OOMs, set `NODE_OPTIONS=--max-old-space-size=8192`. ```bash npm ci npm run build npm test ``` `npm test` already runs `npm run build` then unit tests. `npm ci` for CI and clean checkouts; `npm install` is fine locally. ```bash npx tsc --noEmit npm run test:lint node scripts/generate-notice.mjs npm run build:schema ``` Commit `NOTICE.txt` after dependency changes and `docs/cli/schema.json` after command or flag changes. Do not edit `src/es/apis/*.ts`, `src/es/api-manifest.ts`, `src/kb/apis.ts`, or `src/kb/api-manifest.ts`. Unset `ELASTIC_CLI_CONFIG_FILE` before running the built binary against a real cluster.
Ver no GitHub