HOW-TO GUIDE

How to run GitHub Copilot CLI on Windows without giving it the whole machine

Based on a guide by Windows Mode on DEV Community · Dec 2, 2026

You'll end with: Copilot CLI on Windows that starts from one trusted repo folder, with deny rules on risky commands and the OS sandbox turned on.

Why it's worth having: Deny rules beat every allow option, so pushing stays a human step, and sandboxed commands write only in the repo, temp folders, and Git metadata.

At a glance

WHO IT'S FOR
Software developers and IT admins who run AI coding agents on Windows PCs.
LEVEL
Beginner
COST
Free to read. Copilot CLI needs a Copilot plan, your own model provider, or an eligible Entra account.
YOU NEED
Windows PowerShell 5.1 or later · winget, or Node.js 22 for npm · A Copilot plan · Windows 11 25H2 or 26H1 for the sandbox

The method, in short

  1. 1Install Copilot CLI with winget, start it from the repo root, and trust that folder, never your user profile.
  2. 2Treat the approve-for-session option with care, since it approves the whole tool, such as every rm command.
  3. 3Block risky commands such as git push with --deny-tool, which wins over every allow option.
  4. 4Turn on /sandbox on a supported Windows 11 build, and add a repo instructions file with build, test, and no-touch rules.

The post has the install commands, deny rule examples, the sandbox build numbers, and a full daily setup.

More from The Feed

GRID

Williams County approves a permit for a 250 MW gas-powered data center

Williams County, North Dakota commissioners voted 4 to 1 to approve a permit for phase 1 of Western Dakota Infrastructure's data center northeast of Williston.

THE POWER
The 250 MW data center runs on electricity from the company's own natural gas generators.
THE PERMIT
The permit gives the company 18 months to break ground, and a road agreement on construction traffic comes back for a vote.
THE WATER
The site would use about 3.3M gallons of water a year, and the county water board still has to approve the supply.
WHY IT MATTERS
A 250 MW campus on its own gas generators adds a large new power load in the Williston Basin, built without drawing on the grid.
Source: KFYR-TV
TOOL

ThingsBoard IoT Gateway 3.8.7 adds SNMPv3 and SNMP traps

Controls and IIoT engineers can bring SNMPv3 devices and SNMP traps into ThingsBoard next to Modbus, OPC-UA, BACnet, and CAN gear through one gateway.

WHAT IT DOES
An open-source gateway that connects Modbus, OPC-UA, BACnet, CAN bus, BLE, MQTT, ODBC, REST, and SNMP devices to the ThingsBoard IoT platform.
WHO IT'S FOR
Controls engineers, IIoT engineers, and building automation integrators.
HOW TO START

Needs Python 3.11 or later and a ThingsBoard server to send data to.

pip3 install thingsboard-gateway

Then add the SNMP connector to the gateway config with your device addresses and OIDs.

COST
Free under the Apache-2.0 license; it needs a ThingsBoard server to connect to.
WHY IT MATTERS
Version 3.8.7 adds SNMPv3, SNMP traps, and per-entry timeouts and retries, and fixes BACnet socket and CAN RPC config bugs.
Source: GitHub
MANUFACTURING

Cortizo picks Waycross, Georgia for its first U.S. plant and 150 jobs

Spain's Cortizo will invest $42M to turn the former Simmons Bedding plant in Waycross, Georgia into its first U.S. factory for aluminum and PVC products.

THE PLANT
A 217,500 sq ft facility at 3450 Simmons Drive, expected to begin operations in 2028.
THE JOBS
150 new jobs over the next several years in Ware County.
THE COMPANY
Cortizo makes 150,000 tons of aluminum profiles and 50,000 tons of PVC a year, with nearly 4,000 employees.
WHY IT MATTERS
Cortizo designs and makes aluminum and PVC systems for building and industrial customers, and the Waycross plant puts that production closer to its U.S. buyers.