Martin Polden
Martin Polden
Principal Vespa Engineer

Introducing Vespa CLI

Historically, the primary methods for deploying and interacting with Vespa applications has been to use Vespa APIs directly or via our Maven plugin.

While these methods are effective, neither of them are seamless. Using the APIs typically involves copying dense terminal commands from the Vespa documentation, and assumes that the user has access to a variety of terminal tools. The Maven plugin assumes the user has a Java development toolchain installed and configured, which is unnecessary for some use-cases.

We therefore decided to build an official command-line tool that supports both self-hosted Vespa installations and Vespa Cloud, focusing on ease of use.

Vespa CLI

Vespa CLI is a zero-dependency tool built with Go, available for Linux, macOS and Windows.

Using the initial release of Vespa CLI you can:

  • Clone our sample applications
  • Deploy your application to a Vespa installation running locally or remote
  • Deploy your application to a dev zone in Vespa Cloud
  • Feed and query documents
  • Send custom requests with automatic authentication

To install Vespa CLI, choose one of the following methods:

To learn how to use Vespa CLI check out our getting started guides:

Vespa CLI is open source under the same license as Vespa itself and its source code is part of the Vespa repository. If you encounter problems or want to provide feedback on Vespa CLI, feel free to file a GitHub issue.