# sf-meta-open

> Navigate in salesforce from CLI

Latest version **2.0.0** (published 2026-11-18) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install sf-meta-open
pnpm add sf-meta-open
yarn add sf-meta-open
bun add sf-meta-open
```

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-11-18 |
| First published | 2025-03-07 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | ESM |
| Node | >=22.0.0 |
| Dependencies | 3 |
| Unpacked size | 53.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Raffaele Preziosi |
| Maintainers | preziosiraffaele |
| Keywords | force, salesforce, salesforcedx, sf, sf-plugin, sfdx, sfdx-plugin |

## Links

- npm: https://www.npmjs.com/package/sf-meta-open
- npm.io page: https://npm.io/package/sf-meta-open

## Dependencies (3)

- [@oclif/core](https://npm.io/package/@oclif/core.md) ^5.1.12
- [@salesforce/core](https://npm.io/package/@salesforce/core.md) ^9.5.0
- [@salesforce/sf-plugins-core](https://npm.io/package/@salesforce/sf-plugins-core.md) ^13.0.9

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2026-11-18
- 1.1.11 — 2025-10-15
- 1.1.10 — 2025-10-15
- 1.1.9 — 2025-03-22
- 1.1.8 — 2025-03-22
- 1.1.7 — 2025-03-09
- 1.1.6 — 2025-03-09
- 1.1.5 — 2025-03-09
- 1.1.4 — 2025-03-09
- 1.1.3 — 2025-03-09
- 1.1.2 — 2025-03-09
- 1.1.1 — 2025-03-09
- 1.1.0 — 2025-03-09
- 1.0.31 — 2025-03-09
- 1.0.30 — 2025-03-09
- … 20 more at https://npm.io/package/sf-meta-open/versions

## README

# sf-meta-open

[![NPM](https://img.shields.io/npm/v/sf-meta-open.svg?label=sf-meta-open)](https://www.npmjs.com/package/sf-meta-open) [![Downloads/week](https://img.shields.io/npm/dw/sf-meta-open.svg)](https://npmjs.org/package/sf-meta-open) [![License](https://img.shields.io/badge/License-BSD%203--Clause-brightgreen.svg)](https://raw.githubusercontent.com/salesforcecli/sf-meta-go/main/LICENSE.txt)

A Salesforce CLI plugin that allows you to quickly open metadata files in the browser. This plugin provides a convenient way to navigate from your local metadata files directly to their corresponding web interface in Salesforce, improving developer productivity.

## Install

```bash
sf plugins install sf-meta-open@latest
```

## Usage

```bash
sf meta open --metadata <path-to-metadata-file> --targetusername <your-org>
```

Or use the alias for brevity:

```bash
sf meta open -f <path-to-metadata-file> -o <your-org>
```

## About

This plugin analyzes a local Salesforce metadata file and opens its corresponding record directly in the browser. It automatically:

1. Determines the metadata type based on the file extension
2. Constructs the correct URL for viewing that specific metadata
3. Opens your default browser to that URL

## Commands

<!-- commands -->

- [`sf meta open`](#sf-meta-open)

## `sf meta open`

Open Salesforce metadata in your browser.

```
USAGE
  $ sf meta open -f <filepath> -o <orgname>

FLAGS
  -f, --metadata=<path>       (required) Path to the metadata file you want to open in Salesforce
  -o, --targetusername=<org>  (required) Username or alias of the target Salesforce org

DESCRIPTION
  Open Salesforce metadata in your browser.

  This command takes a local metadata file path and opens its corresponding record in the Salesforce web interface using your default browser.

EXAMPLES
  Open an Apex class:
    $ sf meta open --metadata force-app/main/default/classes/MyClass.cls --targetusername my-org

  Open a custom object:
    $ sf meta open -f force-app/main/default/objects/MyObject__c/MyObject__c.object-meta.xml -o my-org
```

---
_Source: https://npm.io/package/sf-meta-open · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
