Installation

Get rnsec up and running in seconds with npm or yarn.

Prerequisites

Before installing rnsec, ensure you have:

  • Node.js 14+ installed
  • npm or yarn package manager
  • A React Native or Expo project to scan

Global Installation (Recommended)

Install rnsec globally to use it across all your projects:

bash
npm install -g rnsec

This allows you to run rnsec from anywhere in your terminal.

Optional: Build from Source

For development or contributing to rnsec:

bash
git clone https://github.com/yourusername/rnsec.git
cd rnsec
npm install
npm run build
npm link

Verify Installation

Confirm rnsec is installed correctly by checking the version:

bash
rnsec --version

Installation Complete

You're all set! Continue to Quick Start to run your first scan.