# EasyRun **Repository Path**: colo9/easy-run ## Basic Information - **Project Name**: EasyRun - **Description**: run your python/perl/nodejs script easily - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-11-25 - **Last Updated**: 2025-07-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # easyrun ## 初衷 更好用的windows命令行 ## 安装 安装在Powershell的Modules目录 ```bash git clone https://gitee.com/colo9/easy-run.git (Join-Path ($env:PSModulePath -split [IO.Path]::PathSeparator | Where-Object { $_ -like "$HOME\*PowerShell\Modules" }) EasyRun) ``` ## 工具 ### Run script in current command line session **For Powershell** Add following line to your $PROFILE ```bash $env:PATHEXT += ';.py;.pl' # refer: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.4 ``` **Repeat Run:** ```bash Invoke-Repeat -Interval 1 -Count 3 { echo 'hello world' } # 配置alias Set-Alias -Name repeat -Value Invoke-Repeat # Set-Alias -Name rr -Value Invoke-Repeat repeat -Interval 1 -Count 3 { echo 'hello world' } ``` 添加到$Profile ```bash Import-Module -Name EasyRun Set-Alias -Name repeat -Value Invoke-Repeat Set-Alias -Name rr -Value Invoke-Repeat ``` ## FAQ