Sources/PackageManagerDocs/Documentation.docc/SDK/SDKRemove.md
@Metadata { @PageImage(purpose: icon, source: command-icon) @Available("Swift", introduced: "6.1") }
Removes a previously installed Swift SDK bundle from the filesystem.
sdk remove [--package-path=<package-path>]
[--cache-path=<cache-path>] [--config-path=<config-path>]
[--security-path=<security-path>]
[--scratch-path=<scratch-path>]
[--swift-sdks-path=<swift-sdks-path>]
[--toolset=<toolset>...]
[--pkg-config-path=<pkg-config-path>...]
<sdk-id-or-bundle-name> [--version] [--help]
Specify the package path to operate on (default current directory). This changes the working directory before any other operation.
Specify the shared cache directory path.
Specify the shared configuration directory path.
Specify the shared security directory path.
Specify a custom scratch directory path. (default .build)
Path to the directory containing installed Swift SDKs.
Specify a toolset JSON file to use when building for the target platform. Use the option multiple times to specify more than one toolset. Toolsets will be merged in the order they're specified into a single final toolset for the current build.
Specify alternative path to search for pkg-config .pc files. Use the option multiple times to
specify more than one path.
Name of the Swift SDK bundle or ID of the Swift SDK to remove from the filesystem.
Show the version.
Show help information.