Command Reference
DevOps & More
Docker, Kubernetes, Terraform, package managers, and system commands
DevOps & More
Package Managers
npm (15) · pnpm (7) · yarn (5) · bun (5)
| Alias | Command | Alias | Command |
|---|---|---|---|
ni | npm install | pni | pnpm install |
nid <pkg> | npm install <pkg> | pna <pkg> | pnpm add |
nidd <pkg> | npm install -D | yi | yarn install |
nr <script> | npm run | ya <pkg> | yarn add |
nu | npm update | bi | bun install |
nls | npm ls --depth=0 | ba <pkg> | bun add |
no | npm outdated | br <script> | bun run |
Docker (18 commands)
| Alias | Command |
|---|---|
dcu | docker compose up -d |
dcd | docker compose down |
dcl <svc> | docker compose logs -f |
dcr <svc> | docker compose restart |
dps | docker ps |
di | docker images |
dex <id> | docker exec -it <id> /bin/bash |
dlog <id> | docker logs -f <id> |
db <tag> | docker build -t <tag> . |
drun <img> | docker run -it <img> |
dpr | docker system prune -af |
Kubernetes (21 commands)
| Alias | Command |
|---|---|
k <cmd> | kubectl <cmd> |
kgp | kubectl get pods |
kga | kubectl get all |
kgs | kubectl get svc |
kgd | kubectl get deployments |
kl <pod> | kubectl logs -f |
kex <pod> | kubectl exec -it … /bin/bash |
kaf <file> | kubectl apply -f |
kns <ns> | switch namespace |
kpf <pod> <port> | port-forward |
kroll <deploy> | rollout restart |
Terraform (11 commands)
| Alias | Command |
|---|---|
tfi | terraform init |
tfp | terraform plan |
tfa | terraform apply |
tfaa | terraform apply -auto-approve |
tfd | terraform destroy |
tfs | terraform state list |
tff | terraform fmt |
tfv | terraform validate |
Python (14 commands)
| Alias | Command |
|---|---|
py <file> | python3 <file> |
pi <pkg> | pip install <pkg> |
pir | pip install -r requirements.txt |
venv | python3 -m venv .venv |
act | source .venv/bin/activate |
pt | pytest |
dj <cmd> | python manage.py <cmd> |
Rust & Go (17 commands)
| Alias | Command | Alias | Command |
|---|---|---|---|
cb | cargo build | gor | go run . |
cr | cargo run | gob | go build |
ct | cargo test | got | go test -v ./... |
ccl | cargo clippy | gomod | go mod tidy |
cf | cargo fmt | gog <pkg> | go get <pkg> |
System & Utilities (20+ commands)
| Alias | Command |
|---|---|
cls | clear |
la | ls -la |
ll | ls -lah |
lt | tree . -L 3 |
up / up2 / up3 | cd .. / ../.. / ../../.. |
mk <dir> | mkdir -p |
tgz <dir> | create .tar.gz |
untgz <file> | extract .tar.gz |
env | printenv |
now | date |