Command hub

Developer Tools commands

Cross-platform developer commands and Windows-to-Linux equivalents for Git, compilers, language runtimes, build tools and project workflows.

Build ToolsCompilersEditorsGitGoJavaNode.jsPythonRust

Distro notes

Debian/Ubuntu vs Fedora vs Arch

Developer Tools

Debian/Ubuntu apt sudo apt install git build-essential python3 python3-venv python3-pip nodejs npm

build-essential installs gcc, g++, make and common headers.

Fedora dnf sudo dnf groupinstall "Development Tools" && sudo dnf install git python3 python3-pip nodejs npm

Fedora uses dnf groups for common compiler toolchains.

Arch pacman sudo pacman -S base-devel git python python-pip nodejs npm

base-devel is the standard Arch development tool group.

Guides

All Developer Tools command guides

38 mappings · 5 expanded guides

MSBuild equivalent simple project→cmake --build build Quick reference Build Tools Build CMake project Builds an already configured CMake build directory. Distro equivalents Debian/Ubuntu cmake --build build Fedora cmake --build build Arch cmake --build build Open quick reference → Visual Studio build tools make→make Quick reference Build Tools Run Makefile build Executes build rules from a Makefile. Distro equivalents Debian/Ubuntu make Fedora make Arch make Open quick reference → cmake configure on Windows→cmake -S . -B build Quick reference Build Tools Configure CMake project Generates build files in a separate build directory. Distro equivalents Debian/Ubuntu cmake -S . -B build Fedora cmake -S . -B build Arch cmake -S . -B build Open quick reference → ninja build on Windows→ninja -C build Quick reference Build Tools Run Ninja build Builds a project with Ninja. Distro equivalents Debian/Ubuntu ninja -C build Fedora ninja -C build Arch ninja -C build Open quick reference → cl.exe compile C→gcc main.c -o app Expanded guide Compilers Compile C program Compiles a C source file into a Linux executable using GCC rather than the Microsoft C compiler. Distro equivalents Debian/Ubuntu gcc main.c -o app Fedora gcc main.c -o app Arch gcc main.c -o app Open expanded guide → code . on Windows→code . Quick reference Editors Open VS Code in folder Opens the current folder in VS Code when installed. Distro equivalents Debian/Ubuntu code . Fedora code . Arch code . Open quick reference → notepad source file→nano file Quick reference Editors Edit text file in terminal Opens a text file in a terminal editor. Distro equivalents Debian/Ubuntu nano file Fedora nano file Arch nano file Open quick reference → git add on Windows→git add path Quick reference Git Stage changes Stages file changes for the next commit. Distro equivalents Debian/Ubuntu git add path Fedora git add path Arch git add path Open quick reference → git branch on Windows→git branch -a Quick reference Git List Git branches Lists local and remote branches. Distro equivalents Debian/Ubuntu git branch -a Fedora git branch -a Arch git branch -a Open quick reference → git clone on Windows→git clone URL Expanded guide Git Clone Git repository Copies a remote Git repository and its history into a new local working directory. Distro equivalents Debian/Ubuntu git clone URL Fedora git clone URL Arch git clone URL Open expanded guide → git commit on Windows→git commit -m "message" Quick reference Git Create Git commit Records staged changes in repository history. Distro equivalents Debian/Ubuntu git commit -m "message" Fedora git commit -m "message" Arch git commit -m "message" Open quick reference → git diff on Windows→git diff Quick reference Git Show unstaged Git changes Displays line changes not yet staged. Distro equivalents Debian/Ubuntu git diff Fedora git diff Arch git diff Open quick reference → git log on Windows→git log --oneline --graph --decorate Quick reference Git Show Git history Displays compact commit history. Distro equivalents Debian/Ubuntu git log --oneline --graph --decorate Fedora git log --oneline --graph --decorate Arch git log --oneline --graph --decorate Open quick reference → git pull on Windows→git pull --ff-only Quick reference Git Pull Git changes Fetches and fast-forwards from the remote branch. Distro equivalents Debian/Ubuntu git pull --ff-only Fedora git pull --ff-only Arch git pull --ff-only Open quick reference → git push on Windows→git push Quick reference Git Push Git commits Uploads local commits to the configured remote. Distro equivalents Debian/Ubuntu git push Fedora git push Arch git push Open quick reference → git remote on Windows→git remote -v Quick reference Git Show Git remotes Lists configured repository remotes. Distro equivalents Debian/Ubuntu git remote -v Fedora git remote -v Arch git remote -v Open quick reference → git stash on Windows→git stash push -m "work in progress" Quick reference Git Stash Git changes Temporarily shelves uncommitted changes. Distro equivalents Debian/Ubuntu git stash push -m "work in progress" Fedora git stash push -m "work in progress" Arch git stash push -m "work in progress" Open quick reference → git status on Windows→git status Expanded guide Git Show Git working tree status Shows tracked, modified, staged and untracked files in the current Git working tree. Distro equivalents Debian/Ubuntu git status Fedora git status Arch git status Open expanded guide → git switch on Windows→git switch BRANCH Quick reference Git Switch Git branch Moves the working tree to another branch. Distro equivalents Debian/Ubuntu git switch BRANCH Fedora git switch BRANCH Arch git switch BRANCH Open quick reference → go build on Windows→go build ./... Quick reference Go Build Go packages Builds Go packages in the current module. Distro equivalents Debian/Ubuntu go build ./... Fedora go build ./... Arch go build ./... Open quick reference → go test on Windows→go test ./... Quick reference Go Run Go tests Runs Go tests recursively. Distro equivalents Debian/Ubuntu go test ./... Fedora go test ./... Arch go test ./... Open quick reference → go version on Windows→go version Quick reference Go Check Go version Prints Go toolchain version. Distro equivalents Debian/Ubuntu go version Fedora go version Arch go version Open quick reference → gradle build on Windows→gradle build Quick reference Java Build Gradle project Runs a Gradle build. Distro equivalents Debian/Ubuntu gradle build Fedora gradle build Arch gradle build Open quick reference → java -version on Windows→java -version Quick reference Java Check Java runtime Prints Java runtime version. Distro equivalents Debian/Ubuntu java -version Fedora java -version Arch java -version Open quick reference → javac on Windows→javac Main.java Quick reference Java Compile Java source Compiles a Java source file. Distro equivalents Debian/Ubuntu javac Main.java Fedora javac Main.java Arch javac Main.java Open quick reference → mvn test on Windows→mvn test Quick reference Java Run Maven tests Runs test phase for a Maven project. Distro equivalents Debian/Ubuntu mvn test Fedora mvn test Arch mvn test Open quick reference → node --version on Windows→node --version Quick reference Node.js Check Node.js version Prints Node.js version. Distro equivalents Debian/Ubuntu node --version Fedora node --version Arch node --version Open quick reference → npm install -g on Windows→npm install -g PACKAGE Quick reference Node.js Install global npm package Installs a global Node.js CLI package. Distro equivalents Debian/Ubuntu npm install -g PACKAGE Fedora npm install -g PACKAGE Arch npm install -g PACKAGE Open quick reference → npm install on Windows→npm install Expanded guide Node.js Install project dependencies Installs the Node.js dependencies declared by the current project and updates the local dependency tree. Distro equivalents Debian/Ubuntu npm install Fedora npm install Arch npm install Open expanded guide → npx on Windows→npx PACKAGE Quick reference Node.js Run npm package command Runs an npm package binary without permanent global install. Distro equivalents Debian/Ubuntu npx PACKAGE Fedora npx PACKAGE Arch npx PACKAGE Open quick reference → pip freeze on Windows→python3 -m pip freeze Quick reference Python List Python packages Prints installed Python packages and versions. Distro equivalents Debian/Ubuntu python3 -m pip freeze Fedora python3 -m pip freeze Arch python3 -m pip freeze Open quick reference → pip install on Windows→python3 -m pip install PACKAGE Quick reference Python Install Python package Installs a Python package into the active environment. Distro equivalents Debian/Ubuntu python3 -m pip install PACKAGE Fedora python3 -m pip install PACKAGE Arch python3 -m pip install PACKAGE Open quick reference → pipx install on Windows→pipx install PACKAGE Quick reference Python Install Python CLI app Installs a Python command-line app in an isolated environment. Distro equivalents Debian/Ubuntu pipx install PACKAGE Fedora pipx install PACKAGE Arch pipx install PACKAGE Open quick reference → py -m venv→python3 -m venv .venv Expanded guide Python Create Python virtual environment Creates an isolated Python environment so project packages can be installed separately from the system Python. Distro equivalents Debian/Ubuntu python3 -m venv .venv Fedora python3 -m venv .venv Arch python3 -m venv .venv Open expanded guide → where python→python3 --version Quick reference Python Check Python version Prints the installed Python version. Distro equivalents Debian/Ubuntu python3 --version Fedora python3 --version Arch python3 --version Open quick reference → cargo build on Windows→cargo build Quick reference Rust Build Rust project Builds a Rust package. Distro equivalents Debian/Ubuntu cargo build Fedora cargo build Arch cargo build Open quick reference → cargo test on Windows→cargo test Quick reference Rust Run Rust tests Runs Rust project tests. Distro equivalents Debian/Ubuntu cargo test Fedora cargo test Arch cargo test Open quick reference → cargo version on Windows→cargo --version Quick reference Rust Check Cargo version Prints Rust Cargo version. Distro equivalents Debian/Ubuntu cargo --version Fedora cargo --version Arch cargo --version Open quick reference →