> For the complete documentation index, see [llms.txt](https://hellbot-docs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hellbot-docs.gitbook.io/docs/string-session/terminal.md).

# Terminal

Guide to generate a session string in terminal.

### :link: Follow these steps carefully to generate string sessions:

* Open the terminal.
* Paste this code.

*<mark style="color:yellow;">`pkg install python wget -y && pip install telethon && pip install pyrogram && pip install instagrapi && wget https://raw.githubusercontent.com/The-HellBot/HellBot/master/hell_string.py && python3 hell_string.py`</mark>*

* Select the type of session.
  * *<mark style="color:purple;">**`HellBot Session:`**</mark>*
    * Fill API ID, API HASH, Phone number (with country code).
    * Paste the OTP received on Telegram.
    * If You have Enabled 2-Step Verification then fill your password.
    * Your HellBot Session Will be saved in your Telegram Saved Message.
  * *<mark style="color:purple;">**`Telethon:`**</mark>*
    * Fill API ID, API HASH, Phone number (with country code).
    * Paste the OTP received on Telegram.
    * If You have Enabled 2-Step Verification then fill your password.
    * Your Telethon Session Will be saved in your Telegram Saved Message.
  * *<mark style="color:purple;">**`Pyrogram:`**</mark>*
    * Fill API ID, API HASH, Phone number (with country code).
    * Paste the OTP received on Telegram.
    * If You have Enabled 2-Step Verification then fill your password.
    * Your Pyrogram Session will be saved in your Telegram Saved Message.
  * *<mark style="color:purple;">**`Instagram:`**</mark>*
    * Fill instagram username and password.
    * If asked for OTP check yout email and fill up the OTP from there.
    * Your Instagram Session will be displayed on the screen.
    * Copy it carefully and Do Not Share With Anyone!
    * Using a fake account is recommended.

> Note that Termux Doesn't show passwords when filled. Just paste your password and hit enter.
