Skip to main content

Install

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Install an app from a local .apk (Android) or .app bundle (iOS). These call app_install.

Install​

func (d *Device) Install(ctx context.Context, path string) (string, error)

Install adds an app from a local .apk (Android) or .app bundle (iOS), and returns the absolute path that was installed.

Examples​

Install an app from a file​

path, err := dev.Install(ctx, "./build/app-debug.apk")
if err != nil {
return err
}
fmt.Println("installed", path)