Leverage Extended Functionality for Lightning Web Components with Salesforce CLI

Create Lightning web components with the pre-release version of Salesforce CLI.

Where: This change applies to Lightning Experience, Salesforce Classic, and all versions of the Salesforce app in all editions.

When: v45 of the salesforcedx aggregate plug-in releases on February 9, 2019. A pre-release version of v45 is available now.

Install the Pre-Release Version of the CLI

Install the pre-release version to use new commands and parameters available in salesforcedx v45.

Note

Note

If you want to start trying out Lightning web components, install the pre-release version. Otherwise, most new features are added in weekly releases of Salesforce CLI, so you already have them.

sfdx plugins:install salesforcedx@pre-release
Make sure that you have the pre-release version.
sfdx plugins --core
salesforcedx 45.0.1-xx
When we officially release v45 in February 2019, uninstall the pre-release version, then run the update command.
sfdx plugins:uninstall salesforcedx
sfdx update