Forrest logo
back to the cordova tool

cordova:tldr:67dbc

cordova: Remove a Cordova platform.
$ cordova platform remove ${platform}
try on your machine

The command "cordova platform remove" is used to remove a specific platform from a Cordova project.

In this case, "${platform}" is a placeholder for the actual platform name that needs to be removed. When using the command, you would replace "${platform}" with the name of the platform you want to remove.

For example, if you want to remove the Android platform from your Cordova project, you would execute the command "cordova platform remove android". Similarly, to remove the iOS platform, you would use "cordova platform remove ios".

Once the command is executed, Cordova will remove the specified platform files and configurations from the project, allowing you to no longer build or run the project on that platform.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the cordova tool