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 commands

MSBuild equivalent simple projectcmake --build build 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 full guide → Visual Studio build tools makemake Build Tools Run Makefile build Executes build rules from a Makefile. Distro equivalents Debian/Ubuntu make Fedora make Arch make Open full guide → cmake configure on Windowscmake -S . -B build 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 full guide → ninja build on Windowsninja -C build 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 full guide → cl.exe compile Cgcc main.c -o app Compilers Compile C program Compiles a C source file into an executable. Distro equivalents Debian/Ubuntu gcc main.c -o app Fedora gcc main.c -o app Arch gcc main.c -o app Open full guide → code . on Windowscode . 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 full guide → notepad source filenano file 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 full guide → git add on Windowsgit add path 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 full guide → git branch on Windowsgit branch -a 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 full guide → git clone on Windowsgit clone URL Git Clone Git repository Downloads a repository into a new local directory. Distro equivalents Debian/Ubuntu git clone URL Fedora git clone URL Arch git clone URL Open full guide → git commit on Windowsgit commit -m "message" 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 full guide → git diff on Windowsgit diff Git Show unstaged Git changes Displays line changes not yet staged. Distro equivalents Debian/Ubuntu git diff Fedora git diff Arch git diff Open full guide → git log on Windowsgit log --oneline --graph --decorate 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 full guide → git pull on Windowsgit pull --ff-only 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 full guide → git push on Windowsgit push Git Push Git commits Uploads local commits to the configured remote. Distro equivalents Debian/Ubuntu git push Fedora git push Arch git push Open full guide → git remote on Windowsgit remote -v Git Show Git remotes Lists configured repository remotes. Distro equivalents Debian/Ubuntu git remote -v Fedora git remote -v Arch git remote -v Open full guide → git stash on Windowsgit stash push -m "work in progress" 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 full guide → git status on Windowsgit status Git Show Git working tree status Shows changed, staged and untracked files in a repository. Distro equivalents Debian/Ubuntu git status Fedora git status Arch git status Open full guide → git switch on Windowsgit switch BRANCH 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 full guide → go build on Windowsgo build ./... Go Build Go packages Builds Go packages in the current module. Distro equivalents Debian/Ubuntu go build ./... Fedora go build ./... Arch go build ./... Open full guide → go test on Windowsgo test ./... Go Run Go tests Runs Go tests recursively. Distro equivalents Debian/Ubuntu go test ./... Fedora go test ./... Arch go test ./... Open full guide → go version on Windowsgo version Go Check Go version Prints Go toolchain version. Distro equivalents Debian/Ubuntu go version Fedora go version Arch go version Open full guide → gradle build on Windowsgradle build Java Build Gradle project Runs a Gradle build. Distro equivalents Debian/Ubuntu gradle build Fedora gradle build Arch gradle build Open full guide → java -version on Windowsjava -version Java Check Java runtime Prints Java runtime version. Distro equivalents Debian/Ubuntu java -version Fedora java -version Arch java -version Open full guide → javac on Windowsjavac Main.java 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 full guide → mvn test on Windowsmvn test Java Run Maven tests Runs test phase for a Maven project. Distro equivalents Debian/Ubuntu mvn test Fedora mvn test Arch mvn test Open full guide → node --version on Windowsnode --version Node.js Check Node.js version Prints Node.js version. Distro equivalents Debian/Ubuntu node --version Fedora node --version Arch node --version Open full guide → npm install -g on Windowsnpm install -g PACKAGE 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 full guide → npm install on Windowsnpm install Node.js Install project dependencies Installs dependencies from package.json. Distro equivalents Debian/Ubuntu npm install Fedora npm install Arch npm install Open full guide → npx on Windowsnpx PACKAGE 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 full guide → pip freeze on Windowspython3 -m pip freeze 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 full guide → pip install on Windowspython3 -m pip install PACKAGE 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 full guide → pipx install on Windowspipx install PACKAGE 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 full guide → py -m venvpython3 -m venv .venv Python Create Python virtual environment Creates an isolated Python environment. Distro equivalents Debian/Ubuntu python3 -m venv .venv Fedora python3 -m venv .venv Arch python3 -m venv .venv Open full guide → where pythonpython3 --version Python Check Python version Prints the installed Python version. Distro equivalents Debian/Ubuntu python3 --version Fedora python3 --version Arch python3 --version Open full guide → cargo build on Windowscargo build Rust Build Rust project Builds a Rust package. Distro equivalents Debian/Ubuntu cargo build Fedora cargo build Arch cargo build Open full guide → cargo test on Windowscargo test Rust Run Rust tests Runs Rust project tests. Distro equivalents Debian/Ubuntu cargo test Fedora cargo test Arch cargo test Open full guide → cargo version on Windowscargo --version Rust Check Cargo version Prints Rust Cargo version. Distro equivalents Debian/Ubuntu cargo --version Fedora cargo --version Arch cargo --version Open full guide →