소스 정보
- 저장소
- elastic/cli
- 최근 소스 활동
- 2026년 9월 28일 18:54
- 감지된 SKILL.md 언어
- 영어
- 스타
- 47
- 포크
- 27
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- 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.
GitHub에서 보기