{"id":21213834,"url":"https://github.com/justdj-git/oh-my-posh-install","last_synced_at":"2025-06-29T10:37:49.835Z","repository":{"id":263641423,"uuid":"891036066","full_name":"JustDj-Git/oh-my-posh-install","owner":"JustDj-Git","description":"Fully automates the installation of oh-my-posh with many additional features such as integration for cmd, PowerShell 7 installation, profile creation, and more.","archived":false,"fork":false,"pushed_at":"2024-12-01T16:47:03.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-01T17:25:55.522Z","etag":null,"topics":["oh-my-posh","powershell","terminal"],"latest_commit_sha":null,"homepage":"https://omp.scripts.wiki","language":"PowerShell","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/JustDj-Git.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":"2024-11-19T16:03:48.000Z","updated_at":"2024-12-01T16:47:06.000Z","dependencies_parsed_at":"2024-11-20T00:01:28.145Z","dependency_job_id":null,"html_url":"https://github.com/JustDj-Git/oh-my-posh-install","commit_stats":null,"previous_names":["justdj-git/oh-my-posh-install"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustDj-Git%2Foh-my-posh-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustDj-Git%2Foh-my-posh-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustDj-Git%2Foh-my-posh-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustDj-Git%2Foh-my-posh-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JustDj-Git","download_url":"https://codeload.github.com/JustDj-Git/oh-my-posh-install/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234979240,"owners_count":18916754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["oh-my-posh","powershell","terminal"],"created_at":"2024-11-20T21:24:14.582Z","updated_at":"2025-01-21T16:20:31.535Z","avatar_url":"https://github.com/JustDj-Git.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🖌️ Oh My Posh Auto Installer Script\nThis script automates the installation and setup of [Oh My Posh](https://ohmyposh.dev), a prompt theme engine for customizing your terminal experience.\n\n## ✨Features\n - **Theme Selection**: Users can choose between different themes from the list to customize the terminal's appearance.\n - **PowerShell Profile Configuration**: Automatically configures Oh My Posh for PowerShell 5/7, CMD, and Windows Terminal.\n - **Shortcut Configuration**: The script configures shortcuts for using on-my-posh automatically when starting any console.\n - **Installation of Additional Tools**: The menu offers online installation of the latest versions of essential tools, including:\n   - **`Oh-My-Posh`**: A prompt theme engine for PowerShell that enhances the command-line interface with beautiful prompts and useful information.\n   - **`PowerShell 7`**: The latest version of PowerShell available from GitHub, providing advanced scripting capabilities and improved performance.\n   - **`Clink`**: The latest version of a command line enhancement for CMD, which integrates seamlessly with `oh-my-posh` to provide enhanced command-line features and shortcuts.\n   - **`Nano`**: The latest version of a lightweight text editor for the terminal, ideal for quick edits and configuration file modifications.\n   - **`Windows Terminal`**: A modern terminal application for Windows 10 and newer that supports multiple tabs, Unicode, and rich text, providing a powerful environment for command-line tools.\n   - **`Terminal-Icons`**: A module that provides file type icons in the terminal, enhancing visual cues and making it easier to identify file types at a glance.\n   - **`PSReadLine`**: A PowerShell module that improves the command-line experience by enabling autocompletion with the arrow keys and displaying a navigable menu of all available options when the Tab key is pressed. This feature enhances usability by making it easier to discover commands and parameters.\n\n## 💡 How to use (Windows 10 and later ❤️)\n\n### 🖱️ With nice menu\n\n1.   Open PowerShell (not CMD). Right-click on the Windows start menu and find PowerShell (or Terminal), or press `Win + S` and type Powershell.\n2.   Copy and paste the code below and press enter\n```powershell\nirm omp.scripts.wiki | iex; run\n```\nor direct link\n```powershell\nirm https://raw.githubusercontent.com/JustDj-Git/oh-my-posh-install/refs/heads/main/oh-my-posh-install.ps1 | iex; run\n```\n3.   Menu will appear!\n---\n\n### 🔧 Parameters and Switches for CLI\nThe script accepts the following parameters and switches:\n\n- **`-oh_theme`**: Sets the theme name for Oh-My-Posh (ex. `-oh_theme \"dracula\"`).\n- **`-ohmp`**: Downloads and installs only Oh-My-Posh with necessary fonts and Powershell modules. Requires additional oh-my-posh configuration!\n- **`-AIO`**: Downloads and installs all tools: Oh-My-Posh, PowerShell 7, Clink, Nano, Terminal-Icons module, Windows Terminal, and PowerShell profiles.\n- **`-ps7`**: Downloads and installs PowerShell 7.\n- **`-cmd`**: Downloads and installs Clink for enhanced CMD experience.\n- **`-nano`**: Downloads and installs Nano text editor.\n- **`-icons`**: Downloads and installs the Terminal-Icons module.\n- **`-terminal`**: Downloads and installs Windows Terminal and configures it.\n- **`-ps_profile`**: Configures the PowerShell profile for enhanced settings.\n- **`-log`**: Enables logging, writing to the specified file. Accepts a full path and file name (ex. `-log \"C:\\Users\\Username\\Desktop\\install_log.txt\"`).\n---\n### 🛠️ CLI Examples\n1. **Set Theme to \"Dracula\" and Install Multiple Tools**  \n   This command sets `oh_theme` to \"dracula\" and installs Clink (`-cmd`), Terminal-Icons (`-icons`), Windows Terminal (`-terminal`), and configures the PowerShell profile (`-ps_profile`):\n\n    ```powershell\n    irm omp.scripts.wiki | iex; run -oh_theme \"dracula\" -cmd -icons -terminal -ps_profile\n    ```\n\n2. **Install Only Oh-My-Posh with Dracula Theme**  \n   This command sets `oh_theme` to \"dracula\" and installs only Oh-My-Posh (`-ohmp`) with the required fonts:\n\n    ```powershell\n    irm omp.scripts.wiki | iex; run -oh_theme \"dracula\" -ohmp\n    ```\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustdj-git%2Foh-my-posh-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustdj-git%2Foh-my-posh-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustdj-git%2Foh-my-posh-install/lists"}