Installation
Prerequisites
Before you begin the installation process, please ensure that you have the following prerequisites in place:
- Node.js: Make sure you have Node.js installed on your system. You can download it from the official Node.js website: https://nodejs.org (opens in a new tab)
- Phone number: Valid phone number
Global Installation Steps
Follow these steps to globally install truecallerjs using npm:
Step 1: Open Your Terminal
Open your terminal or command prompt. You'll be using this terminal to execute npm commands.
Step 2: Global Installation
Run the following command to globally install the truecallerjs package:
npm install -g truecallerjs
The -g
flag tells npm to install the package globally on your system.
Step 3: Verify Installation
Once the installation is complete, you can verify that truecallerjs has been installed by running:
truecallerjs --version
This command should display the version of the installed truecallerjs package.
Step 4: Usage
With truecallerjs successfully installed, you can now use the truecallerjs
command in your terminal to interact with the Truecaller API. Run truecallerjs --help
to see the available commands and usage information.