Skip to content

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.

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

Terminal window
devpit
devpit --ascii

Subcommands

  • clean: Scan and clean dev junk without opening the app (not available yet)
  • completion: Generate the autocompletion script for the specified shell
  • font: Install, remove or check the icon font
  • ports: 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

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

Generate the autocompletion script for the specified shell.

devpit completion

Flags from devpit

Flag Type Default What it does
--ascii bool false force the plain ASCII icon tier

Subcommands

  • bash: Generate the autocompletion script for bash
  • fish: Generate the autocompletion script for fish
  • powershell: Generate the autocompletion script for powershell
  • zsh: Generate the autocompletion script for zsh

Generate the autocompletion script for bash.

devpit completion bash

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

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

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

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

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 font

Flags 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 user
  • remove: Remove the icon font and undo the terminal patch
  • status: Report whether the icon font is installed

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

Terminal window
devpit font install
devpit font install --quiet

Remove the icon font and undo the terminal patch.

devpit font remove

Flags from devpit

Flag Type Default What it does
--ascii bool false force the plain ASCII icon tier

Examples

Terminal window
devpit font remove

Report whether the icon font is installed.

devpit font status

Flags from devpit

Flag Type Default What it does
--ascii bool false force the plain ASCII icon tier

Examples

Terminal window
devpit font status

List or free busy dev ports.

devpit ports

Flags 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)

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

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

Share files between PCs on your network (open the app to do it).

devpit share

Flags 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

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 cleanup

Flags from devpit

Flag Type Default What it does
--ascii bool false force the plain ASCII icon tier

Update tools through every detected package manager.

devpit update

Flags from devpit

Flag Type Default What it does
--ascii bool false force the plain ASCII icon tier

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

Terminal window
devpit version
devpit version --short
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.