Development
Development: Node, Python (uv, poetry), PHP, Ruby, .NET, Go, Rust, Java, TLS.
File aliases/dev.sh. Disable: export ALIASX_DISABLE="dev"
npm
| Name | Runs | What it does | |
ni | npm install | npm install | needs npm |
nid | npm install --save-dev | npm install dev dependency | needs npm |
nr | npm run | npm run script | needs npm |
nrd | npm run dev | npm run dev | needs npm |
nrb | npm run build | npm run build | needs npm |
nrt | npm test | npm test | needs npm |
pnpm (pr is coreutils, so pnr)
| Name | Runs | What it does | |
pn | pnpm | pnpm | needs pnpm |
pni | pnpm install | pnpm install | needs pnpm |
pna | pnpm add | pnpm add | needs pnpm |
pnr | pnpm run | pnpm run script | needs pnpm |
pnd | pnpm dev | pnpm dev | needs pnpm |
bun
| Name | Runs | What it does | |
buni | bun install | bun install | needs bun |
bunr | bun run | bun run script | needs bun |
bund | bun run dev | bun run dev | needs bun |
pm2
| Name | Runs | What it does | |
pm2l | pm2 list | running apps | needs pm2 |
pm2logs | pm2 logs | follow logs | needs pm2 |
pm2r | pm2 restart | restart app | needs pm2 |
Python
| Name | Runs | What it does | |
py | python3 | python3 | needs python3 |
pipi | python3 -m pip install | pip install | needs python3 |
pipu | python3 -m pip install --upgrade | pip upgrade package | needs python3 |
function venv {
_d="${1:-.venv}"
[ -d "$_d" ] || python3 -m venv "$_d" || { unset _d; return 1; }
. "$_d/bin/activate"; unset _d
}
venv [DIR] | | create (if missing) and activate virtualenv (default .venv)example$ venv
(.venv) $ | needs python3 |
function serve {
echo "Serving ${2:-.} at http://127.0.0.1:${1:-8000}"
python3 -m http.server "${1:-8000}" --bind 127.0.0.1 --directory "${2:-.}"
}
serve [PORT] [DIR] | | static HTTP server on 127.0.0.1 (default 8000)example$ serve 9000
Serving . at http://127.0.0.1:9000 | needs python3 |
uv (Python)
| Name | Runs | What it does | |
uvr | uv run | run in project env | needs uv |
uva | uv add | add dependency | needs uv |
uvs | uv sync | install locked dependencies | needs uv |
Poetry
| Name | Runs | What it does | |
poi | poetry install | install dependencies | needs poetry |
poa | poetry add | add dependency | needs poetry |
por | poetry run | run in project env | needs poetry |
PHP / Laravel
| Name | Runs | What it does | |
comi | composer install | install dependencies | needs composer |
comr | composer require | add dependency | needs composer |
art | php artisan | Laravel artisan | needs php |
artm | php artisan migrate | run migrations | needs php |
artt | php artisan test | run tests | needs php |
Ruby / Rails
| Name | Runs | What it does | |
rsrv | rails server | start dev server | needs rails |
rdbm | rails db:migrate | run migrations | needs rails |
be | bundle exec | run with Gemfile versions | needs bundle |
.NET
| Name | Runs | What it does | |
dn | dotnet | dotnet | needs dotnet |
dnr | dotnet run | run project | needs dotnet |
dnt | dotnet test | run tests | needs dotnet |
dnb | dotnet build | build project | needs dotnet |
Go
| Name | Runs | What it does | |
gor | go run | go run | needs go |
gob | go build | go build | needs go |
got | go test ./... | go test all packages | needs go |
gomt | go mod tidy | go mod tidy | needs go |
govet | go vet ./... | go vet all packages | needs go |
Rust (cargo- prefix; cc and cb clash with compilers)
| Name | Runs | What it does | |
cargo-r | cargo run | cargo run | needs cargo |
cargo-b | cargo build | cargo build | needs cargo |
cargo-br | cargo build --release | release build | needs cargo |
cargo-t | cargo test | cargo test | needs cargo |
cargo-c | cargo check | type-check only | needs cargo |
cargo-l | cargo clippy | clippy lints | needs cargo |
Maven and Gradle
| Name | Runs | What it does | |
mvnc | mvn clean | maven clean | needs mvn |
mvni | mvn install | maven install | needs mvn |
mvnt | mvn test | maven test | needs mvn |
gradleb | gradle build | gradle build | needs gradle |
gradlet | gradle test | gradle test | needs gradle |
TLS
| Name | Runs | What it does | |
function tlscheck {
[ "$#" -eq 1 ] || { echo "Usage: tlscheck <host[:port]>" >&2; return 2; }
_h="${1%%:*}"; _p="${1##*:}"; [ "$_h" = "$_p" ] && _p=443
openssl s_client -connect "$_h:$_p" -servername "$_h" </dev/null 2>/dev/null |
openssl x509 -noout -subject -issuer -dates
unset _h _p
}
tlscheck HOST[:PORT] | | show certificate subject, issuer, datesexample$ tlscheck example.com
subject=CN=example.com
issuer=C=US, O=DigiCert Inc, CN=DigiCert Global G3 TLS ECC SHA384 2020 CA1
notBefore=Jan 15 00:00:00 2026 GMT
notAfter=Jan 15 23:59:59 2027 GMT | |