Rovo Dev CLI quickstart guide

Rovo Dev CLI is currently in beta

 

Once you install Rovo Dev CLI on your device, run it in interactive mode from the command line using acli rovodev run. How to install Rovo Dev CLI on your device

コマンド

While in interactive mode, you can enter / at any time to see the list of available commands.

/sessions: Switch between sessions, and view session details.

/clear: Clear the current session's message history.

/prune: Reduce the token size of the current session's message history while retaining context.

/instructions: Run saved instructions. 

/memory: Memory file management.memo

# <note>: Add a note to Rovo Dev's local memory file.

#! <note>: Remove a note from Rovo Dev's local memory file.

/feedback: Provide feedback or report a bug on Rovo Dev CLI.

/usage: Show your daily LLM token usage.

/exit: Quit Rovo Dev.

 

Tips for working with Rovo Dev

  • Start small - Rovo Dev works best with small changes, about 10 or 20 lines at a time.

  • Break down your tasks - break bigger changes into smaller steps for Rovo Dev to tackle one at a time.

  • Review and iterate - treat Rovo Dev like a teammate you’re collaborating with, give feedback on the code it generates with what to change and improve.

  • Change gears - use the /sessions command to start a new session if the current approach isn’t working and you need a fresh perspective from Rovo Dev.

  • Save frequently - regularly commit changes to track your progress and avoid losing work if something goes wrong.

  • Check your work - you can ask Rovo Dev to review its own changes, compare the changes against a parent commit for linting errors, and submit draft pull requests to verify CI/CD logs.

 

Token usage

Rovo Dev CLI consumes tokens whenever you ask a question, generate code, and so on. More complex interactions require more tokens.

Each user has a daily token limit which resets at midnight UTC. For details on your daily token usage, run /usage in interactive mode.

 

Modes

Interactive mode

Interactive mode is Rovo Dev’s default mode. It lets you use natural language to with the agent so it can answer questions, iterate on code, and problem solve with you.

Run interactive mode from the command line using acli rovodev run.

Non-interactive mode

In non-interactive mode, Rovo Dev updates files in your codebase directly without interaction. This is useful for automating repetitive tasks once you’re happy with results of an instruction.

Run non-interactive mode from the command line using acli rovodev run <instruction>.

For example, you could run acli rovodev run "Create unit tests for all components without tests".

 

プロンプトの例

Explore your codebase

Rovo Dev reads your codebase and answers questions in clear language, helping you quickly navigate familiar codebases and decipher new ones.

Explain this repository to me
Where is the authentication logic defined?
What input validation happens during user registration?

Work with Atlassian apps

Rovo Dev integrates with Jira and Confluence, so you can access your team’s knowledge and manage your work without switching contexts. Specify the URL of your site in the prompt. 

Which Jira work items in site vitafleet.atlassian.net are assigned to me and in To Do status?
Implement code changes for Jira work item ABC-123 in site vitafleet.atlassian.net
Create a list of changes needed to implement dark mode and publish to Confluence in site vitafleet.atlassian.net

Ideate and plan

Rovo Dev analyzes your codebase to help you brainstorm and plan technical solutions.

Suggest new features to add that would improve the user experience
How can I improve performance of this app? 
Create a coding plan for adding international currencies to the shopping cart, don't implement any changes yet

Generate code

Rovo Dev generates consistent, structured code to help you build and transform your applications.

Review this modal component and add missing ARIA attributes
Migrate code in this repository from C++ to Java
Add search suggestions to search bar: trigger after 3 characters, include keyboard navigation (up/down/enter), filter on a predefined list of popular products

Analyze and iterate on code

Rovo Dev analyzes code, both existing code and code it has generated, and refines it based on your feedback.

Review this repository and make suggestions to improve readability and performance
I'm getting a 500 error when fetching data from the backend API using Axios - find the issue and fix it 
The error handling you generated for this function is too simple - add more specific error cases and retry logic

Write code documentation

Rovo Dev generates documentation based on the latest changes to your codebase.

Write detailed documentation for this REST API, including available endpoints, parameters, and expected responses - publish to Confluence space "Vitafleet"
Write JSDoc-style comments for this JavaScript function that handles form validation
Write a README.md file for this project - include sections "Setup", "Features", and "Deployment information"

Test and deploy

Rovo Dev helps you build comprehensive test suites and configure your deployment pipelines.

Generate 100 rows of synthetic user data with: name, email, age, location, and signup date - output it as a CSV
Write a test using React Testing Library to verify if the form shows appropriate error messages when trying to submit with empty mandatory fields
Modify bitbucket-pipelines.yml to add a step for running Jest tests before deploying

Remember, your use of Rovo Dev CLI must follow our Acceptable Use Policy.

 

高度な機能

Rovo Dev CLI also has a range of advanced features including tool usage, memory, saved instructions, and connection to MCP servers. Read about advanced Rovo Dev CLI features

 

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。