avd-manager-cli
v1.0.10
Published
A command-line tool to manage Android Virtual Devices (AVDs) with ease.
Readme
AVD Manager CLI
Welcome to AVD Manager CLI — a simple and efficient command-line tool for managing Android Virtual Devices (AVDs) directly from your terminal.
This quick-start guide will help you install, configure, and use the CLI in just a few steps.
🧩 Prerequisites
Before you begin, make sure you have:
- Android SDK installed
- Java JDK 11+
- Android SDK tools (
avdmanager,sdkmanager) available in your PATH - Node.js (if installing via npm)
Installation
You can install AVD Manager CLI globally using npm:
npm install -g avd-manager-clior
npm i avd-manager-cliOr clone the repository manually:
git clone https://github.com/Tdbo21/avd_manager.git
cd avd_manager
npm installFirst Run
After installation, verify the CLI is working:
avdm --helpYou should see a list of available commands and their usage.
🧭 Common Commands
| Command | Description |
| -------------------------------------------------------- | ------------------------ |
| avdm list | Lists all available AVDs |
| avdm create Pixel_API_35 --device pixel --api 35 | Creates a new AVD |
| avdm delete Pixel_API_35 | Deletes an existing AVD |
| avdm launch Pixel_API_35 | Launches an existing AVD |
🧪 Example Usage Workflow
List existing AVDs
avdm listCreate a new AVD
avdm create Pixel_API_35 --device pixel --api 35Delete an AVD
avdm delete Pixel_API_35Launch an AVD
avdm launch Pixel_API_35🧰 Troubleshooting
If you encounter issues:
- Ensure your Android SDK path is correctly set
- Check permissions for the .android directory
🧩 Next Steps
License
MIT
