Skip to content

Add automated install and upgrade support for Linux#347

Merged
garrytrinder merged 4 commits intomainfrom
copilot/add-linux-install-support
Mar 2, 2026
Merged

Add automated install and upgrade support for Linux#347
garrytrinder merged 4 commits intomainfrom
copilot/add-linux-install-support

Conversation

Copy link
Contributor

Copilot AI commented Feb 27, 2026

  • Add installOnLinux() function in src/commands/install.ts that uses the official install script (https://aka.ms/devproxy/setup.sh for stable, https://aka.ms/devproxy/setup-beta.sh for beta) via bash -c "$(curl -sL <url>)"
  • Check for curl and bash availability before running the install script (shared checkLinuxPrerequisites() helper)
  • Extract buildLinuxInstallCommand() helper for constructing the shell command
  • Update upgradeDevProxy() to support Linux upgrade using the install script (instead of redirecting to docs)
  • Add getInstallScriptUrl() helper in src/utils/shell.ts to return the correct URL based on version preference
  • Add Linux setup script URLs (linuxSetupScript, linuxSetupBetaScript) to src/constants.ts
  • Export getInstallScriptUrl from src/utils/index.ts barrel
  • Add tests for getInstallScriptUrl() in src/test/shell.test.ts
  • Update notification test description for Linux (no longer "unsupported")
  • Add changelog entry under [1.13.0] - Unreleased
  • Update README Quick Start to mention Linux automated install support
  • Validate changes compile and pass lint
  • Code review feedback addressed
  • CodeQL security check passed (0 alerts)
Original prompt

This section details on the original issue you should resolve

<issue_title>Add install support for Linux</issue_title>
<issue_description>We have an install script to install Dev Proxy on Linux we can use this in the toolkit to automate the install.

See https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/get-started/set-up?tabs=automated&pivots=client-operating-system-linux</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add install support for Dev Proxy on Linux Add automated install and upgrade support for Linux Feb 27, 2026
@garrytrinder
Copy link
Member

@copilot update this PR to include changelog and readme updates following the guidelines in AGENTS.md

Copy link
Contributor Author

Copilot AI commented Feb 27, 2026

@copilot update this PR to include changelog and readme updates following the guidelines in AGENTS.md

Added in fe0f1a5:

  • CHANGELOG.md: Added entry under [1.13.0] - UnreleasedAdded: section with Install: prefix
  • README.md: Updated Quick Start to mention automated install support on Windows (winget), macOS (Homebrew), and Linux (setup script)

@garrytrinder garrytrinder force-pushed the copilot/add-linux-install-support branch from fe0f1a5 to 35eb1ea Compare March 2, 2026 10:09
@garrytrinder garrytrinder marked this pull request as ready for review March 2, 2026 10:14
Copilot AI and others added 4 commits March 2, 2026 12:56
…scripts

Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
…helper

Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
@garrytrinder garrytrinder force-pushed the copilot/add-linux-install-support branch from 35eb1ea to 2b0b2dd Compare March 2, 2026 13:06
@garrytrinder garrytrinder merged commit ced10ec into main Mar 2, 2026
3 checks passed
@garrytrinder garrytrinder deleted the copilot/add-linux-install-support branch March 2, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add install support for Linux

2 participants