{"id":19831430,"url":"https://github.com/milton797/powershellprofile","last_synced_at":"2026-06-11T17:31:44.672Z","repository":{"id":155786562,"uuid":"632161612","full_name":"Milton797/PowerShellProfile","owner":"Milton797","description":"A custom PowerShell configuration for version 5.1\u003e=","archived":false,"fork":false,"pushed_at":"2024-01-23T02:17:57.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-22T17:03:39.919Z","etag":null,"topics":["powershell","powershell-script"],"latest_commit_sha":null,"homepage":"","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/Milton797.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":"2023-04-24T20:55:22.000Z","updated_at":"2025-07-25T12:39:28.000Z","dependencies_parsed_at":"2024-01-23T03:23:57.317Z","dependency_job_id":null,"html_url":"https://github.com/Milton797/PowerShellProfile","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Milton797/PowerShellProfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milton797%2FPowerShellProfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milton797%2FPowerShellProfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milton797%2FPowerShellProfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milton797%2FPowerShellProfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Milton797","download_url":"https://codeload.github.com/Milton797/PowerShellProfile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milton797%2FPowerShellProfile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34211061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["powershell","powershell-script"],"created_at":"2024-11-12T11:31:31.154Z","updated_at":"2026-06-11T17:31:44.642Z","avatar_url":"https://github.com/Milton797.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PowerShell Configuration Profile\n\n## Table of Contents\n\n- [PowerShell Configuration Profile](#powershell-configuration-profile)\n  - [Table of Contents](#table-of-contents)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n    - [Install Scoop command-line installer](#install-scoop-command-line-installer)\n      - [Create some useful aliases](#create-some-useful-aliases)\n      - [Install git](#install-git)\n      - [Install 'extras' bucket](#install-extras-bucket)\n    - [Install a Nerd Font](#install-a-nerd-font)\n      - [Add nerd-fonts bucket](#add-nerd-fonts-bucket)\n      - [Select a font style you want to use from the available list](#select-a-font-style-you-want-to-use-from-the-available-list)\n      - [Install selected font](#install-selected-font)\n    - [Install Oh My Posh](#install-oh-my-posh)\n    - [Install fzf](#install-fzf)\n    - [Install bat](#install-bat)\n    - [Install less (suggests by bat)](#install-less-suggests-by-bat)\n    - [Install fd](#install-fd)\n    - [Install PowerShell Modules](#install-powershell-modules)\n      - [Install NuGet](#install-nuget)\n      - [Install z, PSFzf, posh-git, PSReadLine, PowerColorLS, Terminal-Icons](#install-z-psfzf-posh-git-psreadline-powercolorls-terminal-icons)\n  - [Copy the new configuration on $profile path](#copy-the-new-configuration-on-profile-path)\n    - [Online installation method](#online-installation-method)\n    - [Clone or download version method](#clone-or-download-version-method)\n  - [Last steps](#last-steps)\n  - [Available alias](#available-alias)\n  - [Scoop alias](#scoop-alias)\n    - [PowerShell alias](#powershell-alias)\n    - [z Alias](#z-alias)\n    - [Shortcuts of Set-PsFzfOption](#shortcuts-of-set-psfzfoption)\n    - [Use of external modules (official documentation)](#use-of-external-modules-official-documentation)\n\n## Prerequisites\n\n\u003e **Warning**\n\u003e\n\u003e - Windows 10 Anniversary Update, Windows Server 2016 or higher\n\u003e - Windows Terminal use PowerShell version 5.1 by default, for\n\u003e some of the features, we might need a PowerShell 7\n\u003e - To see your PowerShell version use $PSVersionTable\n\n- [Windows Terminal](https://github.com/microsoft/terminal \"Windows Terminal\")\n- [PowerShell Core/Desktop](https://microsoft.com/PowerShell \"PowerShell Core/Desktop\")\n\n## Installation\n\n\u003e **Note**\n\u003e\n\u003e - You can use other sources than scoop to install the packages\n\u003e - **You can ignore installing packages if you already have them**\n\n### Install [Scoop](https://scoop.sh/ \"scoop\") command-line installer\n\n```bash\nSet-ExecutionPolicy RemoteSigned -Scope CurrentUser ; irm get.scoop.sh | iex\n```\n\n#### Create some useful aliases\n\n```bash\nscoop alias add dump 'Get-ChildItem \"~/scoop/buckets/$($args[0])/bucket\" -ErrorAction SilentlyContinue |% { echo \"$($_.BaseName)\" }'\nscoop alias add i 'scoop install $args[0]'\nscoop alias add r 'scoop uninstall $args[0]'\nscoop alias add l 'scoop list'\nscoop alias add u 'scoop update $args[0]'\nscoop alias add ua 'scoop update *'\nscoop alias add ca 'scoop cleanup *'\nscoop alias add cc 'scoop cache rm *'\n```\n\n#### Install git\n\n```bash\nscoop install git\n```\n\n#### Install 'extras' bucket\n\n\u003e **Note**\n\u003e\n\u003e Optional but necessary to have a better app's repository\n\n```bash\nscoop bucket add extras\n```\n\n### Install a [Nerd Font](https://www.nerdfonts.com/ \"Nerd Font\")\n\n#### Add nerd-fonts bucket\n\n```bash\nscoop bucket add nerd-fonts\n```\n\n#### Select a font style you want to use from the available list\n\n```bash\nscoop dump nerd-fonts\n```\n\n#### Install selected font\n\nIn my case CascadiaCode-NF and CascadiaCode-NF-Mono\n\n```bash\nscoop install CascadiaCode-NF CascadiaCode-NF-Mono\n```\n\n\u003e **Warning**\n\u003e\n\u003e - Close the Windows Terminal to refresh the new installed font\n\u003e - If the new font doesn't appear try checking the 'Show all fonts' box\n\u003e - **Make sure to set the new font in Windows Terminal**\n\u003e - **Preferably use Mono fonts for the terminal**\n\n### Install [Oh My Posh](https://ohmyposh.dev/docs/ \"Oh My Posh\")\n\n```bash\nscoop install oh-my-posh\n```\n\n### Install [fzf](https://github.com/junegunn/fzf \"fzf\")\n\n```bash\nscoop install fzf\n```\n\n### Install [bat](https://github.com/sharkdp/bat \"bat\")\n\n```bash\nscoop install bat\n```\n\n### Install [less](https://github.com/gwsw/less \"less\") (suggests by bat)\n\n```bash\nscoop install less\n```\n\n### Install [fd](https://github.com/sharkdp/fd \"fd\")\n\n```bash\nscoop install fd\n```\n\n### Install [PowerShell Modules](https://www.powershellgallery.com/ \"PowerShell Modules\")\n\n#### Install NuGet\n\n\u003e **Note**\n\u003e\n\u003e You need to install 'NuGet' for 5.1 \u003c= PowerShell version \u003c 6.0 (if not just skip)\n\n```bash\nInstall-PackageProvider -Name NuGet -Force -Scope CurrentUser\n```\n\n#### Install z, PSFzf, posh-git, PSReadLine, PowerColorLS, Terminal-Icons\n\n```bash\nInstall-Module -Name z, PSFzf, posh-git, PSReadLine, PowerColorLS, Terminal-Icons -Force -AllowClobber -Scope CurrentUser\n```\n\n## Copy the new configuration on $profile path\n\n\u003e **Note**\n\u003e\n\u003e Select only one of both\n\n### Online installation method\n\n```bash\nInvoke-WebRequest -Uri \"https://raw.githubusercontent.com/Milton797/PowerShellProfile/master/Microsoft.PowerShell_profile.ps1\" -OutFile $profile\n```\n\n### Clone or download version method\n\n\u003e **Note**\n\u003e\n\u003e Get sure to change directory to the project path\n\u003e before execute the command in your terminal\n\n```bash\nCopy-Item -Force -Path \".\\Microsoft.PowerShell_profile.ps1\" -Destination $profile\n```\n\n## Last steps\n\n- Deletes all old installed versions of apps\n\n```bash\nscoop ca\n```\n\n- Removes all downloaded files from the cache\n\n```bash\nscoop cc\n```\n\n- Close Windows Terminal and open it again to see the results\n\n\u003e **Note**\n\u003e\n\u003e - If you see broken icons, check the selected font\n\n## Available alias\n\n## Scoop alias\n\n- **dump:** This alias lists all the packages available in a particular bucket. It takes one argument, the name of the bucket.\n\n- **i:** This alias installs an app. It takes one argument, the name of the app to install.\n\n- **r:** This alias uninstalls an app. It takes one argument, the name of the app to uninstall.\n\n- **l:** This alias lists all the apps installed via Scoop.\n\n- **u:** This alias updates an app or Scoop itself. It takes one argument, the name of the app to update.\n\n- **ua:** This alias updates all installed apps.\n\n- **ca:** This alias deletes all old installed versions of apps. It is recommended to exit any running programs before using this command.\n\n- **cc:** This alias empties the download cache. It removes all downloaded files from the cache.\n\n### PowerShell alias\n\n- **ie:** This alias stands for Invoke-Explorer and opens Windows File Explorer in the current directory.\n\n- **gpsv:** This alias stands for Get-PSVersion and returns information about the PowerShell version that is currently running.\n\n- **grep:** This alias stands for Select-String and searches for a pattern in a string or file.\n\n- **gdir:** This alias stands for Get-MemberInfo and returns information about the members of an object.\n\n- **ife:** This alias stands for Invoke-FuzzyEdit and opens a fuzzy search window to select a file to edit.\n\n- **ifs:** This alias stands for Invoke-FuzzyScoop and opens a fuzzy search window to select a scoop package to install.\n\n- **ifh:** This alias stands for Invoke-FuzzyHistory and opens a fuzzy search window to search through the command history.\n\n- **cch:** This alias stands for Clear-CommandHistory and clears the command history.\n\n- **ifg:** This alias stands for Invoke-FuzzyGitStatus and opens a fuzzy search window to select a file to stage for a git commit.\n\n- **ifk:** This alias stands for Invoke-FuzzyKillProcess and opens a fuzzy search window to select a process to kill.\n\n- **ifd:** This alias stands for Invoke-SetFuzzyDirectory and opens a fuzzy search window to select a directory to change.\n\n- **cat:** This alias stands for bat and displays the contents of a file with syntax highlighting.\n\n- **ls:** This alias stands for PowerColorLS and lists the contents of the current directory with color highlighting.\n\n### z Alias\n\nYou can also use z as an alternative to the cd command.\n\n- z [Jump path]\n\n### Shortcuts of Set-PsFzfOption\n\n- **Ctrl+t:** Shortcut to trigger file and directory selection\n\n- **Ctrl+r:** Shortcut to trigger history selection\n\n- **Shift+Tab:** Shortcut to replace the standard tab completion\n\n- **Alt+d:** Shortcut to opens a fuzzy search window to select a directory to change\n\n### Use of external modules (official documentation)\n\n- \u003chttps://github.com/junegunn/fzf#usage\u003e\n- \u003chttps://github.com/sharkdp/bat#how-to-use\u003e\n- \u003chttps://github.com/gwsw/less\u003e\n- \u003chttps://github.com/sharkdp/fd#how-to-use\u003e\n- \u003chttps://github.com/badmotorfinger/z#examples\u003e\n- \u003chttps://github.com/kelleyma49/PSFzf#usage\u003e\n- \u003chttps://github.com/dahlbyk/posh-git#using-posh-git\u003e\n- \u003chttps://github.com/PowerShell/PSReadLine#usage\u003e\n- \u003chttps://github.com/gardebring/PowerColorLS#example-usage\u003e\n- \u003chttps://github.com/devblackops/Terminal-Icons#usage\u003e\n- \u003chttps://ohmyposh.dev/docs\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilton797%2Fpowershellprofile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilton797%2Fpowershellprofile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilton797%2Fpowershellprofile/lists"}