Installing
Use the scaffold package command by installing the command’s package:
wp package install wp-cli/scaffold-package-command
Once the package is successfully installed, the scaffold package command will appear in the list of available commands.