π Smart Powershell CLI Tool for developers - Also Easily Add .gitignore
file
Open PowerShell as Administrator
-
Run
Get-ExecutionPolicy
-
If you don't get
RemoteSigned
. Then runSet-ExecutionPolicy RemoteSigned
You should use Windows Terminal to have a brilliant terminal experience on Windows.
Windows Terminal can be acquired from the Microsoft Store, the Windows Terminal
You need to have the new PowerShell, can be downloaded from here
Install-Module -Name PowerShell-Lightning
-
Go to Releases and download from the Assets
-
Download the
exe
file and install
- Open
profile.ps1
located in\\Documents\PowerShell
or simple run the commandcode $PROFILE.CurrentUserAllHosts
ornotepad $PROFILE.CurrentUserAllHosts
- add
Import-Module PowerShell-Lightning
to the end
Now Run
Get-Module
You will see PowerShell-Lightning
there.
restart the PowerShell
For more help write
PSL info
Name | Description | Example |
---|---|---|
info |
Display the docs | psl info |
doctor |
Check language setup status | psl doctor |
c , create |
Create a new project | psl create hello_js node |
s , setup |
Setup project env / config | psl setup |
gi , gitignore |
Add .gitignore file |
psl gi node |
Name | Alias | Description |
---|---|---|
Run_AnyCode |
makk |
Run code makk hello.cpp |
touch |
touch |
Create new file touch hello.txt |
nano |
nano |
Edit file nano hello.txt |
rnn |
rnn |
Rename file rnn hello.txt then changed.txt |
Name | Description | Example |
---|---|---|
s , silent |
Run proram silently | makk hello.js -s |
p , progress |
Show progress status | makk hello.js -p |
Description | Name |
---|---|
All Users, All Hosts | $PROFILE.AllUsersAllHosts |
All Users, Current Host | $PROFILE.AllUsersCurrentHost |
Current User, All Host | $PROFILE.CurrentUserAllHosts |
Current User, Current Host | $PROFILE.CurrentUserCurrentHost |