{"id":15020119,"url":"https://github.com/toshydev/win-web-setup","last_synced_at":"2025-10-25T03:30:41.374Z","repository":{"id":162920738,"uuid":"637442278","full_name":"toshydev/win-web-setup","owner":"toshydev","description":"Instructions to setup and configure dev tools on windows","archived":false,"fork":false,"pushed_at":"2023-05-09T14:47:18.000Z","size":29,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T05:25:04.962Z","etag":null,"topics":["cmd","git","github-config","oh-my-posh","powershell","powershell-script","script","scripts","setup-script","terminal","visual-studio-code","vscode","webdevelopment","windows","windows-10","windows-11","windows10","windows11"],"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/toshydev.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-05-07T15:12:47.000Z","updated_at":"2024-02-20T14:00:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"91241f47-8b72-400b-aa78-c3ac2b8ecc83","html_url":"https://github.com/toshydev/win-web-setup","commit_stats":{"total_commits":32,"total_committers":2,"mean_commits":16.0,"dds":0.3125,"last_synced_commit":"57a05382c7164e3b9b16c619ce03cd6985d78068"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshydev%2Fwin-web-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshydev%2Fwin-web-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshydev%2Fwin-web-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshydev%2Fwin-web-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toshydev","download_url":"https://codeload.github.com/toshydev/win-web-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238071084,"owners_count":19411600,"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":["cmd","git","github-config","oh-my-posh","powershell","powershell-script","script","scripts","setup-script","terminal","visual-studio-code","vscode","webdevelopment","windows","windows-10","windows-11","windows10","windows11"],"created_at":"2024-09-24T19:54:36.902Z","updated_at":"2025-10-25T03:30:41.013Z","avatar_url":"https://github.com/toshydev.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Developer Setup for Windows 11\n\nInstructions on how to set up and configure developer tools on windows.\n\n\u003e This instruction uses the winget tool, which is only supported on Windows 10 1709 (build 16299) or later at this time. The winget tool will not be available until you have logged into Windows as a user for the first time, triggering Microsoft Store to register Windows Package Manager as part of an asynchronous process. If you have recently logged in as a user for the first time and find that winget is not yet available, you can open PowerShell and enter the following command to request this winget registration: Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.\n\n## Quick Setup\n\n1. Install and/or update the [**Microsoft App Installer**](https://apps.microsoft.com/store/detail/appinstaller/9NBLGGH4NNS)\n2. `Win` + `R` (Run)\n\n```\ncmd /c curl https://raw.githubusercontent.com/toshydev/win-web-setup/main/setup.bat \u003e %userprofile%\\setup.bat \u0026\u0026 %userprofile%\\setup.bat\n```\n\n3. Configure **Windows Terminal**\n\n- [Set default terminal application](https://learn.microsoft.com/en-us/windows/terminal/install#set-your-default-terminal-application)\n- [Set default profile](https://learn.microsoft.com/en-us/windows/terminal/install#set-your-default-terminal-profile)\n- No need to add new profiles, continue with step `4`\n\n4. Install Apps\n   Run in **Windows Terminal as Administrator**:\n\n```\n\u0026 ([scriptblock]::Create((irm https://raw.githubusercontent.com/toshydev/win-web-setup/main/setup-win.ps1)))\n```\n\n5. Configure **Git \u0026 GitHub**\n   Run in **Windows Terminal**:\n\n```\n\u0026 ([scriptblock]::Create((irm https://raw.githubusercontent.com/toshydev/win-web-setup/main/setup-git-win.ps1)))\n```\n\n---\n\n## Windows Package Manager\n\n[Docs](https://learn.microsoft.com/en-us/windows/terminal/)\n\n\u003e The winget command line tool enables users to discover, install, upgrade, remove and configure applications on Windows 10 and Windows 11 computers. This tool is the client interface to the Windows Package Manager service.\n\n### Install\n\nThe **winget** tool is part of the [_Microsoft App Installer_](https://apps.microsoft.com/store/detail/appinstaller/9NBLGGH4NNS). If it's already installed, make sure it is updated with the **latest version**.\n\n## Windows Terminal \u0026 PowerShell 7\n\n[Docs](https://learn.microsoft.com/en-us/windows/terminal/)\n\n\u003e Windows Terminal is a modern host application for the command-line shells you already love, like Command Prompt, PowerShell, and bash (via Windows Subsystem for Linux (WSL)). Its main features include multiple tabs, panes, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and the ability to create your own themes and customize text, colors, backgrounds, and shortcuts.\n\n[Docs](https://learn.microsoft.com/en-us/powershell/)\n\n\u003e PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.\n\n### Install\n\nTo install **Windows Terminal** \u0026 **PowerShell 7**, run this `.bat` script in **Windows CMD**:\n\n- Open **CMD** with the key-combination: `WIN` + `R`, type `cmd` and press `ENTER`\n- paste and run this `cURL` command in `CMD`:\n\n```\ncurl https://raw.githubusercontent.com/toshydev/win-web-setup/main/setup.bat \u003e %userprofile%\\setup.bat \u0026\u0026 %userprofile%\\setup.bat\n```\n\n(The [script](https://github.com/toshydev/win-web-setup/blob/main/setup.bat) installs _Windows Terminal_ and _PowerShell 7_ with the _winget_ tool you installed in the first step.)\n\n### Configuration (Do not skip)\n\nSet **Windows Terminal** as your default Terminal and **PowerShell 7** as the default profile by following these two simple steps:\n\n- [Set default terminal application](https://learn.microsoft.com/en-us/windows/terminal/install#set-your-default-terminal-application)\n- [Set default profile](https://learn.microsoft.com/en-us/windows/terminal/install#set-your-default-terminal-profile)\n\nYou can skip the rest of the customization (_Add new profile_, etc.)\n\n## Dev Tools\n\nNow that you have a brand new terminal you can install the most important applications:\n\n- [Git](https://git-scm.com/) - Version Control System\n- [Visual Studio Code](https://code.visualstudio.com/) - IDE\n- [Firefox Developer Edition](https://www.mozilla.org/de/firefox/developer/) - Browser \u0026 Dev Tools\n- [Fast Node Manager](https://github.com/Schniz/fnm) - Node.js version manager\n- [Microsoft PowerToys](https://learn.microsoft.com/en-us/windows/powertoys/) - Utilities\n- [Oh My Posh](https://ohmyposh.dev/) - Shell customization\n\n### Install\n\nWith the _winget_ tool you can easily install all these tools at once.\nOpen **Windows Terminal as Administrator** and paste and run this script:\n\n```\n\u0026 ([scriptblock]::Create((irm https://raw.githubusercontent.com/toshydev/win-web-setup/main/setup-win.ps1)))\n```\n\nThe [script](https://github.com/toshydev/win-web-setup/blob/main/setup-win.ps1) installs the apps from the list as well as the _eslint_ package for error linting in **VSC**.\n\n#### Error\nIf you encounter this error:\n![image](https://github.com/toshydev/win-web-setup/assets/91165689/7821241a-e331-444a-b6b1-797ba14d43b2)\nYou need to temporarily allow PowerShell to run unsigned scripts by running theses commands:\n```\nSet-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process\n```\n\n## Git \u0026 GitHub\n\nTo be able to connect your remote **GitHub** repositories with your local projects you need to set up your **Git** config and authenticate with the **GitHub CLI**.\n\n### Configuration\n\nMake sure to open **Windows Terminal as Administrator** and paste and run this script:\n\n```\n\u0026 ([scriptblock]::Create((irm https://raw.githubusercontent.com/toshydev/win-web-setup/main/setup-git-win.ps1)))\n```\n\nThe [script](https://github.com/toshydev/win-web-setup/blob/main/setup-git-win.ps1) sets your **Git** username and email globally, creates a new SSH key, adds the key to your SSH agent and uses these settings with the **GitHub CLI** to authorize you without a password.\n\n#### Error\nIf you encounter this error:\n![image](https://github.com/toshydev/win-web-setup/assets/91165689/7821241a-e331-444a-b6b1-797ba14d43b2)\nYou need to temporarily allow PowerShell to run unsigned scripts by running theses commands:\n```\nSet-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process\n```\n\n## The End\n\n**ATTENTION** If you have set the **Execution Policy** to _unrestricted_ earlier you should reset it to its initial value by running this command:\n```\nSet-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process\n```\n\nGood Work! You did it! Nothing can stop you!\nHappy Hacking 👾\n\nPlease leave a star ⭐ if this instruction helped you.\n\nIf an instruction didn't work as it should, open an issue in the [Issues section](https://github.com/toshydev/win-web-setup/issues).\n\n![good job](https://media.giphy.com/media/Qs0QEnugOy0xIsFkpD/giphy.gif)\n\n![Visitors](https://api.visitorbadge.io/api/VisitorHit?user=win-web-setup\u0026repo=toshydev\u0026countColor=%237B1E7A)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshydev%2Fwin-web-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoshydev%2Fwin-web-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshydev%2Fwin-web-setup/lists"}