Back to Skills Hub
Instagram CLI

Instagram CLI

@arein
socialInstagramCLISocial Media Automation

Instagram CLI tool using REST/GraphQL API with cookie-based authentication. Enables reading posts, managing feeds, viewing profiles, searching content, and performing engagement actions like liking, commenting, and following directly from the command line.

🚀 gram is a command-line tool that lets you interact with Instagram directly from your terminal. Browse posts, view profiles, check comments and likes, search users and hashtags, and manage your account—all without opening a browser. It uses secure cookie-based authentication and supports multiple output formats including JSON for automation.

💡 Perfect for developers, researchers, and power users who want to automate Instagram workflows, build scripts, or integrate Instagram data into applications. Extract user information, analyze engagement, or bulk-manage follows and likes programmatically.

✨ Supports multiple authentication sources (Safari, Chrome, Firefox, Brave), works cross-platform, and offers flexible output options (JSON, plain text, colored CLI) for both interactive use and scripting.

GitHub

Requirements

@cyberdrk/gram

Instagram CLI package via npm/pnpm/bun