diff --git a/README.md b/README.md index 86e212e..a9e50f0 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,14 @@ If you're interested in building a WhatsApp bot, you may wanna check out [WhatsAppInfoBot](https://github.com/adiwajshing/WhatsappInfoBot) and an actual bot built with it, [Messcat](https://github.com/adiwajshing/Messcat). ## Install -Create and cd to your NPM project directory and then in terminal, write: `npm install @adiwajshing/baileys` +Create and cd to your NPM project directory and then in terminal, write: +``` + echo @adiwajshing:registry=https://npm.pkg.github.com > .npmrc + npm install @adiwajshing/baileys +``` Then import in your code using: ``` javascript - const WhatsAppWeb = require('baileys') + const WhatsAppWeb = require('@adiwajshing/baileys') ``` ## Connecting