Command line reference
Run devpit with no arguments to open the app. The commands below are for scripts, for the installer and for quick checks.
This page is generated from the app’s own command definitions, so it always matches the version you install.
Commands
Section titled “Commands”devpit: A pit stop for your dev machinedevpit clean: Scan and clean dev junk without opening the app (not available yet)devpit completion: Generate the autocompletion script for the specified shelldevpit completion bash: Generate the autocompletion script for bashdevpit completion fish: Generate the autocompletion script for fishdevpit completion powershell: Generate the autocompletion script for powershelldevpit completion zsh: Generate the autocompletion script for zshdevpit font: Install, remove or check the icon fontdevpit font install: Install Symbols Nerd Font Mono for the current userdevpit font remove: Remove the icon font and undo the terminal patchdevpit font status: Report whether the icon font is installeddevpit ports: List or free busy dev ports (not available yet)devpit ports kill: Stop whatever is listening on a port (not available yet)devpit settings: Read or change a setting without opening the app (not available yet)devpit share: Share files between PCs on your network (open the app to do it)devpit share cleanup: Remove a share that an earlier Devpit left behinddevpit update: Update tools through every detected package manager (not available yet)devpit version: Print the Devpit version
devpit
Section titled “devpit”A pit stop for your dev machine.
Devpit frees disk space, fixes stuck ports, and keeps your developer tools up to date, from one terminal menu.
Run it with no arguments to open the app.
devpit [flags]Flags
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
-h, --help |
bool | false |
help for devpit |
-v, --version |
bool | false |
version for devpit |
Examples
devpitdevpit --asciiSubcommands
clean: Scan and clean dev junk without opening the app (not available yet)completion: Generate the autocompletion script for the specified shellfont: Install, remove or check the icon fontports: List or free busy dev ports (not available yet)settings: Read or change a setting without opening the app (not available yet)share: Share files between PCs on your network (open the app to do it)update: Update tools through every detected package manager (not available yet)version: Print the Devpit version
devpit clean
Section titled “devpit clean”Scan and clean dev junk without opening the app.
devpit clean [path] [flags]Flags
| Flag | Type | Default | What it does |
|---|---|---|---|
--dry-run |
bool | false |
report what would be deleted, delete nothing |
--json |
bool | false |
print machine-readable output |
--resume |
bool | false |
finish tombstones left by an interrupted run |
--yes |
bool | false |
skip the confirmation prompt |
Flags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
devpit completion
Section titled “devpit completion”Generate the autocompletion script for the specified shell.
devpit completionFlags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
Subcommands
bash: Generate the autocompletion script for bashfish: Generate the autocompletion script for fishpowershell: Generate the autocompletion script for powershellzsh: Generate the autocompletion script for zsh
devpit completion bash
Section titled “devpit completion bash”Generate the autocompletion script for bash.
devpit completion bashFlags
| Flag | Type | Default | What it does |
|---|---|---|---|
--no-descriptions |
bool | false |
disable completion descriptions |
Flags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
devpit completion fish
Section titled “devpit completion fish”Generate the autocompletion script for fish.
devpit completion fish [flags]Flags
| Flag | Type | Default | What it does |
|---|---|---|---|
--no-descriptions |
bool | false |
disable completion descriptions |
Flags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
devpit completion powershell
Section titled “devpit completion powershell”Generate the autocompletion script for powershell.
devpit completion powershell [flags]Flags
| Flag | Type | Default | What it does |
|---|---|---|---|
--no-descriptions |
bool | false |
disable completion descriptions |
Flags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
devpit completion zsh
Section titled “devpit completion zsh”Generate the autocompletion script for zsh.
devpit completion zsh [flags]Flags
| Flag | Type | Default | What it does |
|---|---|---|---|
--no-descriptions |
bool | false |
disable completion descriptions |
Flags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
devpit font
Section titled “devpit font”Install, remove or check the icon font.
Installs Symbols Nerd Font Mono for the current user (no admin needed) and adds it to Windows Terminal as a fallback font, so your own font is kept. The same as Settings › Icon font.
devpit fontFlags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
Subcommands
install: Install Symbols Nerd Font Mono for the current userremove: Remove the icon font and undo the terminal patchstatus: Report whether the icon font is installed
devpit font install
Section titled “devpit font install”Install Symbols Nerd Font Mono for the current user.
devpit font install [flags]Flags
| Flag | Type | Default | What it does |
|---|---|---|---|
-q, --quiet |
bool | false |
print only the one-line result |
Flags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
Examples
devpit font installdevpit font install --quietdevpit font remove
Section titled “devpit font remove”Remove the icon font and undo the terminal patch.
devpit font removeFlags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
Examples
devpit font removedevpit font status
Section titled “devpit font status”Report whether the icon font is installed.
devpit font statusFlags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
Examples
devpit font statusdevpit ports
Section titled “devpit ports”List or free busy dev ports.
devpit portsFlags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
Subcommands
kill: Stop whatever is listening on a port (not available yet)
devpit ports kill
Section titled “devpit ports kill”Stop whatever is listening on a port.
devpit ports kill <port>Flags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
devpit settings
Section titled “devpit settings”Read or change a setting without opening the app.
devpit settings [key] [value]Flags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
devpit share
Section titled “devpit share”Share files between PCs on your network (open the app to do it).
devpit shareFlags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
Subcommands
cleanup: Remove a share that an earlier Devpit left behind
devpit share cleanup
Section titled “devpit share cleanup”Remove a share that an earlier Devpit left behind.
If Devpit or the PC stopped while a folder was shared, the share, its temporary login and the firewall or network changes may still be there. This removes them. Windows asks for permission once.
devpit share cleanupFlags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
devpit update
Section titled “devpit update”Update tools through every detected package manager.
devpit updateFlags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
devpit version
Section titled “devpit version”Print the Devpit version.
devpit version [flags]Flags
| Flag | Type | Default | What it does |
|---|---|---|---|
--short |
bool | false |
print only the version number |
Flags from devpit
| Flag | Type | Default | What it does |
|---|---|---|---|
--ascii |
bool | false |
force the plain ASCII icon tier |
Examples
devpit versiondevpit version --shortEnvironment variables
Section titled “Environment variables”| Variable | What it does |
|---|---|
DEVPIT_NO_TELEMETRY |
Set to 1 to switch usage stats off, whatever the setting says. |
DO_NOT_TRACK |
The common Do Not Track switch. Set to 1 to switch usage stats off. |
DEVPIT_NO_UPDATE_CHECK |
Set to 1 to skip the once-a-day check for a newer Devpit. |
DEVPIT_CONFIG_DIR |
Use this folder for config.toml instead of %APPDATA%\devpit. |
DEVPIT_CACHE_DIR |
Use this folder for caches and logs instead of %LOCALAPPDATA%\devpit. |
DEVPIT_REDUCED_MOTION |
Turn off spinners and other movement in the app. |
