{"id":25489829,"url":"https://github.com/fekri8614/sh-idea-setup","last_synced_at":"2026-05-03T21:33:20.307Z","repository":{"id":278239837,"uuid":"934975822","full_name":"fekri8614/sh-idea-setup","owner":"fekri8614","description":"This is a simple shell script to automate the creation of a symbolic link for IntelliJ IDEA on Linux-based systems. It allows you to run IntelliJ IDEA from anywhere in the terminal by typing `idea`.","archived":false,"fork":false,"pushed_at":"2025-02-18T18:12:27.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T07:44:26.287Z","etag":null,"topics":["bash","bash-script","fekri8614","intellij","intellij-idea","shell","shell-script","useful","useful-scripts"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fekri8614.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-18T17:48:04.000Z","updated_at":"2025-02-18T18:12:31.000Z","dependencies_parsed_at":"2025-02-18T18:56:33.543Z","dependency_job_id":null,"html_url":"https://github.com/fekri8614/sh-idea-setup","commit_stats":null,"previous_names":["fekri8614/sh-idea-setup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fekri8614/sh-idea-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fekri8614%2Fsh-idea-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fekri8614%2Fsh-idea-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fekri8614%2Fsh-idea-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fekri8614%2Fsh-idea-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fekri8614","download_url":"https://codeload.github.com/fekri8614/sh-idea-setup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fekri8614%2Fsh-idea-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32586187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","fekri8614","intellij","intellij-idea","shell","shell-script","useful","useful-scripts"],"created_at":"2025-02-18T21:17:59.532Z","updated_at":"2026-05-03T21:33:20.285Z","avatar_url":"https://github.com/fekri8614.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IntelliJ IDEA Setup Script\n\nThis is a simple shell script to automate the creation of a symbolic link for IntelliJ IDEA on Linux-based systems. It allows you to run IntelliJ IDEA from anywhere in the terminal by typing `idea`.\n\n## Features\n- Automatically creates a symbolic link in `/usr/local/bin`.\n- Displays error messages in red if the IntelliJ IDEA installation is not found.\n\n## Prerequisites\n- IntelliJ IDEA installed in the default path: `/home/\u003cusername\u003e/\u003cpackage-name\u003e/bin/idea.sh`.\n- `sudo` privileges to create a symbolic link in `/usr/local/bin`.\n\n## Usage\n\n1. Clone this repository or download the script:\n   ```bash\n   git clone https://github.com/fekri8614/sh-idea-setup.git\n   cd sh-idea-setup\n   ```\n2. Make the code executable:\n   ```bash\n   chmod +x setup_idea.sh\n   ```\n\n3. Run the script:\n   ```bash\n   ./setup_idea.sh\n   ```\n\n4. If successful, you can now run IntelliJ IDEA by typing idea in the terminal.\n\n## Script\nHere’s the script for reference:\n```bash\n#!/bin/bash\n\necho \"-------------------- Welcome to Intellij IDEA Locator! -------------------\"\necho \"                                                                          |\"\necho \"It's developed by Mr.Fekri                                                |\"\necho \"Find me on: [Github](https://github.com/fekri8614)                        |\"\necho \"            [LinkedIn](https://linkedin.com/in/mrfekri86)                 |\"\necho \"                                                                          |\"\necho \"--------------------------------------------------------------------------\"\n\nsleep 3\n\nread -p \"Enter your Intellij IDEA name (For example: idea-IC-211.7628.21): \" intell_name\necho \"\"\n\nidea_path=\"/home/$USER/$intell_name/bin/idea.sh\"\n\nRED='\\033[0;31m'\nNC='\\033[0m'\n\nif [ -f \"$idea_path\" ]; then\n    sudo ln -s \"$idea_path\" /usr/local/bin/idea\n    echo \"Symbolic link created successfully!\"\n    echo \"You can now run IntelliJ IDEA by typing 'idea' in the terminal.\"\nelse\n    echo -e \"${RED}Error: IntelliJ IDEA installation not found at $idea_path.${NC}\"\n    echo \"Please check the path and try again.\"\nfi\n\necho \"-------------------- End --------------------------------------------------\"\n```\n\n## Example\n```bash\n~$ ./setup_idea.sh\n-------------------- Welcome to Intellij IDEA Locator! --------------------\n                                                                          |\nIt's developed by Mr.Fekri                                                |\nFind me on: [Github](https://github.com/fekri8614)                        |\n            [LinkedIn](https://linkedin.com/in/mrfekri86)                 |\n                                                                          |\n---------------------------------------------------------------------------\nEnter your Intellij IDEA name (For example: idea-IC-211.7628.21): idea-IC-211.7628.21\n   \nSymbolic link created successfully!\nYou can now run IntelliJ IDEA by typing 'idea' in the terminal.\n```\nthen, try writing `idea` ...\n```bash\n~$ idea\n# IntelliJ IDEA launches\n```\n\n## Error Handling\nIf the script cannot find the IntelliJ IDEA installation, it will display an error message in red:\n\n```bash\n~$ ./setup_idea.sh\nEnter your Intellij IDEA name (For example: idea-IC-211.7628.21): samplename\nError: IntelliJ IDEA installation not found at /home/\u003cuser-name\u003e/samplename/bin/idea.sh. \nPlease check the path and try again.\n```\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](https://github.com/fekri8614/sh-idea-setup/blob/master/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffekri8614%2Fsh-idea-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffekri8614%2Fsh-idea-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffekri8614%2Fsh-idea-setup/lists"}