GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - elastic/cli: Interact with Elasticsearch, Elastic Serverless and Elastic Cloud APIs from the command line

BranchesTags
Open more actions menu

Latest commit

 

History

469 Commits
469 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
.buildkite
.buildkite
 
 
.claude
.claude
 
 
.githooks
.githooks
 
 
.github
.github
 
 
codegen/functional
codegen/functional
 
 
distribution/docker
distribution/docker
 
 
docs
docs
 
 
examples/extensions/basic
examples/extensions/basic
 
 
packages
packages
 
 
scripts
scripts
 
 
src
src
 
 
test
test
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitleaks.toml
.gitleaks.toml
 
 
.gitleaksignore
.gitleaksignore
 
 
.jscpd.json
.jscpd.json
 
 
.licenserc.json
.licenserc.json
 
 
.mega-linter.yml
.mega-linter.yml
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.secretlintrc.json
.secretlintrc.json
 
 
.shellcheckrc
.shellcheckrc
 
 
.yamllint.yml
.yamllint.yml
 
 
AGENTS.md
AGENTS.md
 
 
ARCHITECTURE.md
ARCHITECTURE.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
NOTICE.txt
NOTICE.txt
 
 
README.md
README.md
 
 
catalog-info.yaml
catalog-info.yaml
 
 
eslint.config.js
eslint.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
renovate.json
renovate.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.test.json
tsconfig.test.json
 
 

Repository files navigation

Elastic CLI

Interact with the Elastic Stack and Elastic Cloud from the command line.

⚠️ Tech preview

This CLI tool is a technical preview and is still under active development. It does not yet support all features and APIs available in every version of the Elastic stack.

Installation

Install globally from npm so the elastic binary is available on your PATH:

npm install -g @elastic/cli
elastic --help

If you don't want a global install, you can run a one-off invocation with npx, which downloads and runs the CLI without persisting it:

npx -y @elastic/cli --help

If npm install -g fails with an EACCES permission error on Linux/macOS, either re-run with sudo or (recommended) point npm's global prefix at a user-owned directory:

mkdir -p ~/.npm-global
npm config set prefix ~/.npm-global
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

For agents

Prefer elastic <command> --help --json for one command and elastic cli-schema for the full tree. Do not ingest docs/cli/schema.json directly.

Quickstart

elastic config context add local --es-url http://localhost:9200 --es-api-key <api-key>
elastic status
elastic es info
elastic es search --index my-index
elastic cloud hosted deployments list-deployments

Documentation

Topic Page
Get started Quickstart
Install, update, and uninstall Install the Elastic CLI
Config file, contexts, credentials Configure the Elastic CLI
Config file properties Configuration file reference
Elastic Cloud Connect to Elastic Cloud
Tab completion Shell completion
Extensions Extend the Elastic CLI
Commands and global options Command reference

About

Interact with Elasticsearch, Elastic Serverless and Elastic Cloud APIs from the command line

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

55 stars

Watchers

1 watching

Forks

32 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.