Skip to main content

Requirements

Before installing, make sure you have:
  • VS Code 1.85 or later
  • Salesforce CLI (sf) installed and authenticated
  • An active Salesforce org connection in VS Code
To check your Salesforce CLI version, run sf --version in your terminal. To install it, visit developer.salesforce.com/tools/salesforcecli.

Install MoxyCode

From the VS Code Marketplace

  1. Open VS Code
  2. Press Cmd+Shift+X (Mac) or Ctrl+Shift+X (Windows) to open the Extensions panel
  3. Search for MoxyCode
  4. Click Install
MoxyCode in the VS Code Marketplace

From the terminal

code --install-extension aptivate.moxycode

Start using MoxyCode

No sign-in required to get started. Once installed, MoxyCode is ready to use immediately — open any Apex or LWC file and run your first deploy. Your first 2 requests are free with no account needed. MoxyCode will prompt you to sign in before your third request.
MoxyCode panel after installation

Sign in

After your second request, MoxyCode will automatically show a sign-in prompt inside VS Code. You do not need to go to the website.
  1. Enter your email address in the sign-in prompt
  2. Click Send Magic Link
  3. Check your inbox for an email from MoxyCode
  4. Click the link — VS Code opens automatically and signs you in
  5. Re-trigger your original request to continue
MoxyCode sign-in prompt
Once signed in, MoxyCode stays signed in. You will not be asked to sign in again.
To view your account details, visit moxycode.com and sign in with the same email address.
The magic link expires after 15 minutes. If it expires, return to VS Code and request a new one.
MoxyCode signed in state

Connect your Salesforce org

MoxyCode uses your active Salesforce CLI default org. To set one:
  1. Look at the bottom status bar in VS Code
  2. Click the org name (or No Default Org Set)
  3. Select Authorize an Org if you haven’t connected one yet, or choose from your existing orgs
  4. Once set, the org name appears in the status bar — MoxyCode will deploy to that org
Salesforce org picker in VS Code status bar
Make sure the correct org is active before deploying — MoxyCode always deploys to your current default org.

Common issues

The extension may not have activated yet. Try opening any .cls, .trigger, .js, or .html file — MoxyCode activates when a supported file type is opened. If the icon still doesn’t appear, save the file once to trigger activation. If it’s still missing, run Developer: Reload Window from the Command Palette.
The sign-in prompt triggers automatically on your third request. If it doesn’t appear, try reloading VS Code with Developer: Reload Window from the Command Palette and making the request again.
MoxyCode requires the Salesforce CLI to be installed and available in your terminal PATH. Run sf --version to verify. If it’s not installed, download it from developer.salesforce.com/tools/salesforcecli.

Next — fix your first deployment error

See MoxyCode in action in under 2 minutes