Documentation
Complete guide to using the Dev PowerShell Utility
Installation
Inno Setup (Recommended)
- 1. Download the installer from the releases page
- 2. Run the installer and follow the prompts
- 3. Reload your PowerShell profile:
. $PROFILE
Chocolatey
choco install dev-ps-utils -yNote: Chocolatey package may not be immediately updated with the latest release.
From Source
Clone the repository:
git clone https://github.com/SzaBee13/dev-tools-ps.gitNavigate to the directory:
cd dev-tools-psRun the main script:
. .\src\dev.ps1Configuration
Dev stores its configuration in %appdata%\SzaBee13\dev\config.json
Set default behavior:
dev set --code=truedev set --explorer=falseThese settings control whether VSCode and Windows Explorer open automatically when working with projects.
Root Management
Roots are base directories where your projects are organized. Set up roots for different project types:
Define a new root:
dev set root web "D:/my-web-projects"List all roots:
dev rootsCommands Reference
$ dev open <folder-name>Open a project folder in VSCode and/or Explorer
$ dev open my-website$ dev create <type> <name>Create a new project of specified type (vite, python, discord, etc.)
$ dev create vite my-app$ dev rm <folder-name>Remove a folder from your root directories
$ dev rm old-project$ dev pull [repo-url] [folder]Clone or pull a Git repository
$ dev pull https://github.com/user/repo my-project$ dev release <message> [details]Commit and push changes to Git
$ dev release "Add new feature" "Implemented user auth"$ dev local-release <message>Commit changes locally without pushing
$ dev local-release "WIP: working on feature"$ dev init [repo-url]Initialize a Git repository with optional remote
$ dev init https://github.com/user/repo$ dev statusShow git status of the current directory
$ dev status$ dev ls <type>List all projects in a specific root (web, python, discord, etc.)
$ dev ls web$ dev helpDisplay help information
$ dev helpProject Operations
Opening Projects
The dev open command supports subpaths:
dev open my-project/subdirectoryOverride Defaults
Override default VSCode/Explorer behavior per command:
dev open my-project --code=false --explorer=trueGit Integration
Dev includes powerful Git integration to streamline version control:
Auto-pull on open
When opening a folder with dev open, it automatically checks if it's a Git repository with a remote and pulls the latest changes.
Quick commits
Use dev release for quick commits and push:
dev release "Fixed bug in login" "- Updated validation
- Added error handling"Examples
Complete Workflow Example
1. Set up a web projects root
dev set root web "D:/web-projects"2. Create a new Vite project
dev create vite my-portfolio3. Work on your project...
4. Commit and push changes
dev release "Initial commit" "Created portfolio structure"5. Open the project later
dev open my-portfolioNeed More Help?
Check out the GitHub repository for more examples and community support