Command Library
Coding & Development Commands
Developer-ready commands for Python, Git, terminals, VS Code, and common languages.
Python
Create a virtual environment
python -m venv venvCreates an isolated Python environment.
Install dependencies
pip install -r requirements.txtInstalls all packages from a requirements file.
Run a Python script
python app.pyExecutes a Python file.
List installed packages
python -m pip freezeShows installed Python packages and versions.
Git
Clone a repository
git clone <repo>Downloads a remote repository locally.
Check repo status
git statusShows modified, staged, and untracked files.
Stage all changes
git add .Stages files ready for commit.
Create a commit
git commit -m "msg"Saves staged changes with a message.
Push changes
git push origin mainUploads local commits to the remote repo.
Create a branch
git checkout -b featureCreates a new feature branch.
VS Code
Quick open file
Ctrl + POpens a file by name quickly.
Command palette
Ctrl + Shift + PAccess VS Code commands and settings.
Toggle sidebar
Ctrl + BShows or hides the left sidebar.
Toggle terminal
Ctrl + `Opens or closes the integrated terminal.
Terminal & CLI
Print working directory
pwdShows the current directory path.
List files with details
ls -laViews files, folders, and hidden items.
Search files recursively
grep -R "term" .Finds text in files across a project.
Find files by pattern
find . -name "*.py"Searches files matching a filename pattern.
Programming Languages
Python language runtime
pythonRuns Python code and scripts.
Compile C source
gcc main.c -o appCompiles a C file into an executable.
Compile C++ code
g++ main.cpp -o appBuilds a C++ executable.
Run JavaScript
node app.jsExecutes a Node.js script.
Run Java class
java MainExecutes a compiled Java program.
MATLAB
Create a plot
plot(x, y)Plots a graph from vectors x and y.
Create zero matrix
zeros(m, n)Generates an m-by-n zero matrix.
Get matrix dimensions
size(A)Returns the size of a matrix.
Clear figure
clfClears the current figure window.