🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@salesforce/lwc-dev-mobile

Package Overview
Dependencies
Maintainers
47
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforce/lwc-dev-mobile

Salesforce CLI plugin for mobile extensions to Local Development

latest
Source
npmnpm
Version
3.0.0-alpha.2
Version published
Maintainers
47
Created
Source

codecov MIT license npm (scoped) npm (scoped) Downloads

Setup

System Requirements

  • Developer Hub-enabled org
  • Most recent stable version of Chrome, Firefox, Safari, or Edge web browser
  • Supported Windows versions: Windows 10 or later
  • Supported Mac versions: macOS 10.14.4 or later
  • Salesforce CLI

To develop Lightning web components, use your favorite code editor. We recommend using Visual Studio Code because its Salesforce Extensions for VS Code provide powerful features for development on Lightning Platform.

Installation

  • Open a new terminal window and run the following command to install the Mobile Extensions:

    sfdx plugins:install @salesforce/lwc-dev-mobile
    
  • Check for updates to the plug-in:

    sfdx plugins:update
    

Running

Prerequisites

The Mobile Extensions plug-in can run only in the context of an SFDX project. See the installation instructions of the Local Development plug-in for all SFDX project setup requirements.

Usage

The Mobile Extensions plug-in supports two commands.

Setup

Setup helps you set up virtual mobile devices—iOS simulators and Android emulators—in your local environment.

sfdx force:lightning:local:setup -p <mobile platform>
  • -p, --platform=platform Specify platform (iOS or Android)

For example:

$ sfdx force:lightning:local:setup -p iOS

Plugin Development

If you intend to develop or test drive the plug-in locally, this section will help you set up your development environment.

Checkout and Build Locally

After you clone or fork this repo, run the following commands in the root folder of your local repo:

$ yarn install && yarn build
$ yarn test

Install the Plug-in

From the top-level folder of the plug-in:

$ sfdx plugins:link .

Uninstall the Plug-in

From the top-level folder of the plug-in:

$ sfdx plugins:uninstall .

Keywords

force

FAQs

Package last updated on 05 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts