Skip to main content

Default Device Configuration

If you frequently deploy to the same device, you can set default configuration values with atym set device to simplify your commands.


Setting Your Default Device

Configure your default device using the -n flag, followed by your device's deviceName (or "name"):

atym set device -n myDevice

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

atym set device -i ffffeeee-1234-5678-90ab-cdefabcdefab 

Verify Your Configuration

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

atym show config

This will display your current default device along with other configuration settings.

Run Device Commands Without Specifying Your Device

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

atym 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 set device command again:

atym set device -n anotherDevice