Skip to main content

Default Device Configuration

If you frequently deploy to the same device, you can set a default device with atymctl config set-device so subsequent commands don't need a --device or --name flag.


Setting Your Default Device

Configure your default device using the -n flag, followed by your device's deviceName:

atymctl config set-device -n myDevice

You can also set your default device using the -i flag, followed by your device's deviceUUID:

atymctl config set-device -i ffffeeee-1234-5678-90ab-cdefabcdefab 
info

atymctl device set is an alias of atymctl config set-device and accepts the same flags.

Verify Your Configuration

After setting your default device, you can verify your current configuration:

atymctl config show

This displays your current default device along with other configuration settings.

Run Device Commands Without Specifying Your Device

With your default device configured, you can deploy with a simplified command:

atymctl run your-project-name-on-device your-project

This eliminates the need to specify the device in each command.

Changing Your Default Device

You can change your default device at any time by running the config set-device command again:

atymctl config set-device -n anotherDevice