Run Your App on Vega Virtual Device or Fire TV Stick
Learn how to use Vega Virtual Device or Fire TV Stick to run your Vega apps. Each tool serves different development needs - Vega Virtual Device for rapid iterations and Fire TV Stick for production-ready execution.
Run your app on Vega Virtual Device
The Vega Developer Tools (VDT) features a Vega Virtual Device that lets you test and run Vega apps without a physical device, giving you the following control options:
- Mouse interaction directly on the virtual device
- Virtual remote control interface
- Keyboard shortcuts and commands
Prerequisites
- Install the Vega SDK.
-
A Vega app ready to test.
You can use an app you created from Vega SDK project templates, downloaded from a sample app, or built yourself.
- (Optional) Register your Vega Virtual Device to use Amazon Services for testing.
Step 1: Start the Vega Virtual Device
At the command prompt, run:
kepler virtual-device start
The command waits until the Vega Virtual Device has booted.
Launching default instance.
Waiting for virtual device to boot.
Launch process complete.
Virtual device shell available.
Virtual device ready.
The Vega Virtual Device might:
- Request microphone access on first launch.
- Timeout on boot, but the optional
--timeout
argument allows you to wait longer.
After you start the Vega Virtual Device, the Vega Virtual Device user interface opens on a new window.
Step 2: Load and run your app
To load and run your app on Vega Virtual Device:
kepler run-kepler <vpkg-path> <app-id> -d VirtualDevice
The -d
flag specifies that you're running the app on the Vega Virtual Device.
To load and run your app on Fire TV Stick:
kepler run-kepler <vpkg-path> <app-id> -d <Device Serial Number>
Make sure to replace:
<vpkg-path>
with your app'svpkg
file path<app-id>
with your app ID<Device Serial Number>
with the serial number of your Fire TV Stick
Architecture-specific commands
The architecture of the virtual package (vpkg
) must match the architecture of your development machine for proper execution. For example:
Mac M-series devices:
kepler run-kepler build/aarch64-release/keplersampleapp_aarch64.vpkg com.amazondeveloper.keplersampleapp.main -d VirtualDevice
x86_64 devices:
kepler run-kepler build/x86_64-release/keplersampleapp_x86_64.vpkg com.amazondeveloper.keplersampleapp.main -d VirtualDevice
kepler device launch-app
for subsequent launches. App data persists between launches.Step 3: Stop the virtual device
To stop the Vega Virtual Device, close your virtual device window, or run:
kepler virtual-device stop
Optional configurations
Register the Vega Virtual Device (only if you're using Amazon services for testing)
To use Amazon Services for testing, register your Vega Virtual Device. When you see the Kepler Virtual Device has launched, follow these steps:

- Click "Register this device" on the top right.
- Record the registration code shown on screen.
- Go to www.amazon.com/code and enter the code.
Look for this message to confirm registration:
Your device has successfully been registered
Customize the Vega Virtual Device on launch
The Vega Virtual Device provides customization options on launch. When running the start command:
-
Suppress the graphical user interface (GUI):
kepler virtual-device start --no-gui
-
Turn off OpenGL acceleration (Ubuntu x86 only):
kepler virtual-device start --no-gl-accel
Tip: OpenGL acceleration improves graphics performance. Turn it off only when troubleshooting display issues on Ubuntu x86 systems. -
Modify the default display resolution:
kepler virtual-device start --display-res=1920,1080
Configure the keyboard language settings
The virtual device supports English (EN) and Japanese (JP).
To switch to Japanese keyboard:
-
Start the virtual device:
kepler virtual-device start
-
Open the virtual device’s shell:
kepler device shell -d VirtualDevice
-
Switch to Japanese:
vdcm set com.amazon.devconf/system/configuration/locale ja-JP
Keyboard shortcuts
Use these keyboard shortcuts to control the Vega Virtual Device instead of clicking with your mouse:
Fire TV Stick remote button | Vega Virtual Device keyboard key |
---|---|
Select | ENTER |
Up, Down, Right, Left | Arrow keys |
Back | ESC |
Homepage | F1 |
Menu | F2 |
Rewind | F3 |
Play/Pause | F4 |
Fast Forward | F5 |
Set up Fast Refresh
To automatically detect code changes and display updates in real-time on your Vega Virtual Device, you can set up Fast Refresh.
Troubleshoot
If you encounter issues with the Vega Virtual Device, see Troubleshoot Vega Virtual Device Issues.
Run your app on Fire TV Stick
Prerequisites
- Install the Vega SDK.
- Fire TV Stick 4K Select.

Step 1: Set up and register your Fire TV Stick
To set up and register your Fire TV Stick
- Connect your Fire TV Stick:
- To your development machine using USB cable.
- To a display using the HDMI adapter.
The next screen displays remote pairing.
- Complete remote pairing:
- Press Home button when prompted.
- Follow on-screen instructions.
- Wait for Fire TV logo to appear.
- Configure settings:
- Press Play/Pause on your remote.
- Select your preferred language.
- Connect to your network.
- Enter your network credentials.
- Complete device registration:
- Sign in to your Amazon account either online or through QR code.
- Follow on-screen instructions.
- Wait for "Successfully registered" message.
- Press OK when you see "Your Fire TV remote is now successfully set up."
Step 2: Configure Developer Mode
Developer Mode allows you to sideload apps and test development builds on your Fire TV device. But before your configure Developer Mode, make sure your Fire TV device meets the requirements and you understand the security implications. The process requires a reboot and temporarily interrupts running apps.
To configure Developer Mode
-
Access Settings using the Home button or the Home button shortcut.
Using Home button
- Press the Home button on your remote to go to the Home screen.
- Navigate to the top menu bar.
- Scroll right to find and select the Settings icon (gear symbol).
Using Home button shortcut
- Press and hold the Home button on your remote for 3 seconds.
- Select Settings from the quick menu that appears.
-
Go to Settings > My Fire TV > About.
My Fire TV - Select Fire TV Stick.
- Press the center button on the remote control 7 times.
-
Press the Back button to return to My Fire TV.
The Developer Options appears in the menu list.
-
Select Developer Options.
The display indicates the Developer Mode status, which is Disabled by default.
-
Click Developer Mode to enable it.
The device reboots automatically.
-
After device reboot, use the Back button on your remote and navigate to My Fire TV > Developer Options > Developer Mode.
The Developer Mode status should show Enabled.
-
Check device recognition.
kepler device list
Example output:
Found the following device: [Serial Number] : [Device Number] Found the following devices: [Serial Number] : [Device Number] [Serial Number] : [Device Number]
-
Connect to the device.
-
If you have one device connected, use:
kepler device shell
-
If you have multiple devices connected, specify the device serial number:
kepler device -d <Device Serial Number> shell
Example output:
(hostmachine)% kepler device -d <Device Serial Number> shell ################################################## ##### Welcome to Developer mode Shell ##### ################################################## sh(com.amazon.dev.shell):/$
-
Step 3: Load your app on a Fire TV Stick
After you configure developer mode on your Fire TV stick, to load your app, open a new terminal to use the following commands.
One device connected to your computer
Replace <my-package.vpkg>
with your package name.
kepler device install-app --packagePath <my-package.vpkg>
Multiple devices connected to your computer
Use the following command to specify the target device. Replace <Device Serial Number>
with your device's serial number and <my-package.vpkg>
with your package name.
kepler device -d <Device Serial Number> install-app --packagePath <my-package.vpkg>
Example output:
Installing/Updating '/tmp/keplerproject_armv7.vpkg' .. success
.vpkg
file may vary depending on your project structure and build configuration.Step 4: Run your app on Fire TV Stick
After you have loaded your app on your Fire TV stick, to run your app, use the following commands.
One device connected to your computer
kepler device launch-app --appName <component-id>
Multiple devices connected to your computer
Use the following command to specify the target device. Replace <Device Serial Number>
with your device's serial number and <component-id>
with your app's component ID.
kepler device -d <Device Serial Number> launch-app --appName <component-id>
Example output:
(hostmachine)% kepler device -d <Device Serial Number> launch-app --appName com.amazondeveloper.keplersampleapp
Launching app 'com.amazondeveloper.keplersampleapp' .. success
Related topics
- Enable Developer Mode
- In-App Purchasing (IAP)
- Troubleshoot Vega Virtual Device Issues
- Resolve Fire TV Stick Issues
Last updated: Sep 30, 2025