Skip to content

Latest commit

 

History

History
149 lines (101 loc) · 6.08 KB

File metadata and controls

149 lines (101 loc) · 6.08 KB

⚡ Ultimate Dev Command Shortcuts

A collection of PowerShell functions that speed up everyday development across dozens of frameworks and tools.
No more typing long commands - just short, memorable aliases for Spring Boot, Flask, FastAPI, Python, React, Next.js, MERN, CMake, Rust, Go, Docker, Django, Angular, Node, TypeScript, Terraform, Kubernetes, Ansible, Firebase, Supabase, Git, and more.

PowerShell License


✨ Features

  • 170+ ready-to-use shortcuts for the most popular developer tools.
  • Works on Windows, macOS, and Linux (PowerShell 7+ recommended).
  • Lightweight - just a single .ps1 file, no dependencies.
  • Self-documenting - type show-commands to list all shortcuts.
  • Easily extensible - add your own functions or override existing ones.

🚀 Installation

Option 1: Clone & dot-source (recommended)

  1. Clone the repository:

    git clone https://github.com/Meetmendapara09/ultimate-dev-shortcuts.git
  2. Open your PowerShell profile:

    notepad $PROFILE

    (If $PROFILE doesn't exist yet, create it: New-Item -Path $PROFILE -ItemType File -Force)

  3. Add this line to the end of the profile file:

    # Load Ultimate Dev Shortcuts
    . "C:\path\to\ultimate-dev-shortcuts\DevShortcuts.ps1"

    Adjust the path to where you cloned the repository.

  4. Reload your shell or run . $PROFILE and you're ready.

Option 2: Copy the entire script into your profile

Open your PowerShell profile (notepad $PROFILE), copy the whole content of DevShortcuts.ps1 and paste it there. Save and reload the shell.

Option 3: One‑liner for PowerShell 7+ (direct download)

Invoke-Expression (Invoke-RestMethod "https://raw.githubusercontent.com/Meetmendapara09/ultimate-dev-shortcuts/main/DevShortcuts.ps1")

Use this with caution in automated environments; better to clone and inspect the script first.


🧪 Usage

Just type the shortcut instead of the full command - everything works as if you had typed the original.

What you want to do Full command Shortcut
Start React app npm start reactrun
Run Spring Boot mvn spring-boot:run sbrun
Start Flask dev server flask run flaskrundev
Run FastAPI with auto-reload uvicorn main:app --reload fastrun
Build Go program go build gobuild
Run a Rust binary cargo run rrun
Start Docker Compose docker compose up dup
Show git status git status gs
See all available shortcuts show-commands

Almost all shortcuts accept extra arguments, e.g. sbrun -DskipTests or fastrun main:api --port 9000.


📋 Complete Shortcut List

Type show-commands at any time to see a categorized overview.
Here's what you'll get:

  • Spring Boot (Maven): sbrun, sbbuild, sbtest, sbclean, sbinstall, sbwrapper, sbrunprof, …
  • Flask: flaskrun, flaskrundev, flaskrunhost, flaskshell, flaskdb*, …
  • FastAPI: fastrun, fastrunprod, fasttest, fastformat, …
  • Python: pyrun, pyvenv, pyactivate, pyfreeze, pytests, …
  • React: reactrun, reactbuild, reacttest, reactlint, reactclean, …
  • Next.js: nextrun, nextrunp, nextbuild, nextlint, nextclean, …
  • MERN stack: merndev, mernbuild, merninstall, merntestback, …
  • CMake: cmakeconfig, cmakebuild, cmakerun, cmaketest, cmakeclean, …
  • Rust: rrun, rbuild, rrelease, rtest, rfmt, rclippy, …
  • Go: gorun, gobuild, gotest, gofmt, govet, golint, …
  • Docker: dup, dupd, ddown, dbuild, dlogs, dsh, dprune, …
  • Django: djrun, djmigrate, djshell, djtest, djcreatesu, …
  • Angular: ngnew, ngs, ngbuild, ngtest, nglint, …
  • Node.js / npm: noderun, npmdev, npmbuild, npminst, npmupdate, …
  • TypeScript: tscwatch, tscbuild, tscinit, …
  • Terraform: tfinfo, tfplan, tfapply, tfdestroy, …
  • Kubernetes: k, kgp, kgs, klog, kexec, …
  • Ansible: ansplay, ansinv, ansgal, ansvault, …
  • Firebase / Supabase: fbdeploy, fbserve, fbemulators, sbstart, …
  • General: .., ..., mkcd, touch, which, …
  • Git: gs, ga, gc, gp, gl, gco, gcb, gpl, …
  • Profile helpers: reload-profile, show-commands

⚙️ Customization

The script is meant to be a starting point. You can:

  • Add your own shortcuts by editing DevShortcuts.ps1.
  • Remove sections you don't use.
  • Overwrite functions - define them after loading the script in your profile.

It's plain PowerShell, no build steps required.


🤝 Contributing

Contributions are welcome! If you've got a shortcut that makes your life easier, share it.

  1. Fork the repository.
  2. Add your function (keep the @args pattern so extra arguments pass through).
  3. Update the show-commands help text if it's a new category.
  4. Submit a pull request.

Please ensure functions are cross‑platform (avoid Windows‑only aliases, or guard them).


📜 License

This project is licensed under the MIT License - see the LICENSE file for details.


❤️ Support

If this project saves you time, give it a ⭐ on GitHub and share it with your team!

Happy coding! 🚀