A React Native native module to scan installed applications on macOS, Windows, and Linux.
npm install react-native-installed-apps
# or
yarn add react-native-installed-appscd ios && pod installThe module will be automatically linked when building with React Native Windows.
Integration with react-native-linux or custom tooling required.
import { getInstalledApps, AppInfo } from 'react-native-installed-apps';
async function listApps() {
const apps: AppInfo[] = await getInstalledApps();
apps.forEach(app => {
console.log(`${app.name} - ${app.identifier}`);
if (app.path) console.log(` Path: ${app.path}`);
if (app.version) console.log(` Version: ${app.version}`);
});
}Returns a list of installed applications.
| Field | Type | Platform | Description |
|---|---|---|---|
name |
string |
All | Display name |
identifier |
string |
All | Unique ID (bundle_id / appid / desktop_id) |
path |
string? |
All | Path to app bundle/executable |
version |
string? |
macOS | App version |
icon |
string? |
macOS, Linux | Path to icon file |
categories |
string[]? |
Linux | App categories |
source |
'spotlight' | 'scan'? |
macOS | How app was discovered |
executable |
string? |
macOS | CFBundleExecutable |
- Uses Spotlight (
mdfind) for fast discovery - Falls back to filesystem scan of
/Applications, etc. - Reads
Info.plistfor metadata
- Uses PowerShell
Get-StartAppscommand - Lists Start Menu applications including UWP apps
- Parses
.desktopfiles from XDG directories - Supports Snap, Flatpak, AppImage, NixOS, Guix
- Filters terminal-only and hidden apps
MIT