{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Warp CLI (Command Line Interface)","description":"Access documentation, use cases, and technical guides for Lusha. Learn how to query our comprehensive dataset of business profiles and company information using our three main endpoints.","siteUrl":"https://docs.lusha.com","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"warp-cli-command-line-interface","__idx":0},"children":["Warp CLI (Command Line Interface)"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"introduction","__idx":1},"children":["Introduction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Warp CLI (Command Line Interface) is a powerful tool that allows you to interact with the Warp platform directly from your terminal. It provides a range of commands for managing timelines, manipulating events, and automating tasks, making it an essential tool for developers and power users."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"overview","__idx":2},"children":["Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["With the Warp CLI, you can:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Manage timelines: create, list, and delete timelines."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Manipulate events: schedule, modify, and revert events within timelines."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Automate workflows: script and automate complex time manipulation tasks."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Integrate with other tools: use the CLI in conjunction with CI/CD pipelines, monitoring systems, and other development tools."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"installation","__idx":3},"children":["Installation"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"prerequisites","__idx":4},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Node.js (version 32 or higher)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NPM (Node Package Manager)"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"installing-warp-cli","__idx":5},"children":["Installing Warp CLI"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can install the Warp CLI globally on your system using the following command:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"npm install -g adco-warp-cli\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This command installs the CLI globally, making it available in your terminal."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"basic-usage","__idx":6},"children":["Basic Usage"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"authenticating-with-warp","__idx":7},"children":["Authenticating with Warp"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before using the Warp CLI, you need to authenticate with your Warp account:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"warp auth login\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This command prompts you to log in with your Warp credentials, generating an authentication token for future requests."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"listing-timelines","__idx":8},"children":["Listing Timelines"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To list all active timelines, use the following command:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"warp timeline list\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"creating-a-new-timeline","__idx":9},"children":["Creating a New Timeline"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To create a new timeline, use the following command:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"warp timeline create --name \"New Timeline\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"manipulating-events","__idx":10},"children":["Manipulating Events"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To schedule a new event within a timeline, use the following command:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"warp event schedule --timeline \"New Timeline\" --time \"2024-09-01T00:00:00Z\" --description \"Launch Project X\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"advanced-features","__idx":11},"children":["Advanced Features"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"automating-with-scripts","__idx":12},"children":["Automating with Scripts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Warp CLI allows you to execute custom scripts to automate complex workflows. For example, you can create a script to monitor a timeline and automatically adjust events based on specific conditions."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"warp script run monitor-timeline.js\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"integrating-with-cicd-pipelines","__idx":13},"children":["Integrating with CI/CD Pipelines"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can integrate Warp CLI commands into your CI/CD pipeline to automate time travel operations based on build results, deployment events, and more."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"best-practices","__idx":14},"children":["Best Practices"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use Aliases"]},": Create aliases for frequently used commands to speed up your workflow."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Log Output"]},": Redirect CLI output to log files for auditing and troubleshooting."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Test Scripts Locally"]},": Before deploying scripts in a production environment, test them locally to ensure they function as expected."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"conclusion","__idx":15},"children":["Conclusion"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Warp CLI is a versatile and powerful tool that enhances your ability to manage and manipulate timelines directly from the command line. By mastering the CLI, you can streamline your time travel operations and integrate Warp seamlessly into your development workflow."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For more detailed commands and usage examples, visit the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#"},"children":["Warp CLI Documentation"]},"."]}]},"headings":[{"value":"Warp CLI (Command Line Interface)","id":"warp-cli-command-line-interface","depth":1},{"value":"Introduction","id":"introduction","depth":2},{"value":"Overview","id":"overview","depth":2},{"value":"Installation","id":"installation","depth":2},{"value":"Prerequisites","id":"prerequisites","depth":3},{"value":"Installing Warp CLI","id":"installing-warp-cli","depth":3},{"value":"Basic Usage","id":"basic-usage","depth":2},{"value":"Authenticating with Warp","id":"authenticating-with-warp","depth":3},{"value":"Listing Timelines","id":"listing-timelines","depth":3},{"value":"Creating a New Timeline","id":"creating-a-new-timeline","depth":3},{"value":"Manipulating Events","id":"manipulating-events","depth":3},{"value":"Advanced Features","id":"advanced-features","depth":2},{"value":"Automating with Scripts","id":"automating-with-scripts","depth":3},{"value":"Integrating with CI/CD Pipelines","id":"integrating-with-cicd-pipelines","depth":3},{"value":"Best Practices","id":"best-practices","depth":2},{"value":"Conclusion","id":"conclusion","depth":2}],"frontmatter":{"seo":{"title":"Warp CLI (Command Line Interface)"}},"lastModified":"2026-01-22T08:43:44.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/tools/cli","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}