Jump straight to the tool you need
Version control essentials
Container management & deployment
Orchestrate containers at scale
Shell, filesystem & networking
Manage cloud infrastructure via CLI
Node package management commands
Distributed version control system
| Command | Description | Example | Copy |
|---|---|---|---|
git init
|
Initialize a new local Git repository in the current directory. |
git init my-project
|
|
git clone
|
Clone a remote repository into a newly created local directory. |
git clone https://github.com/user/repo.git
|
|
git add
|
Stage file changes for the next commit. Use `.` to stage all changes. |
git add . | git add file.txt
|
|
git commit
|
Record staged changes to the repository with a descriptive message. |
git commit -m "feat: add login"
|
|
git push
|
Upload local commits to the remote repository branch. |
git push origin main
|
|
git pull
|
Fetch and integrate remote changes into the current branch. |
git pull origin main
|
|
git branch
|
List, create, or delete branches in the local repository. |
git branch feature/auth
|
|
git merge
|
Join two or more development histories together into a single branch. |
git merge feature/auth
|
Build, ship, and run containers anywhere
| Command | Description | Example | Copy |
|---|---|---|---|
docker build
|
Build a Docker image from a Dockerfile in the specified path. |
docker build -t myapp:1.0 .
|
|
docker run
|
Create and start a new container from a specified image. |
docker run -d -p 8080:80 nginx
|
|
docker ps
|
List all currently running containers. Use -a flag to include stopped ones. |
docker ps -a
|
|
docker stop
|
Gracefully stop one or more running containers by ID or name. |
docker stop my-container
|
|
docker rm
|
Remove one or more stopped containers from the local system. |
docker rm my-container
|
|
docker images
|
List all Docker images stored locally on the host machine. |
docker images | grep nginx
|
Orchestrate containerized applications at scale
| Command | Description | Example | Copy |
|---|---|---|---|
kubectl get pods
|
List all active pods in the current namespace. |
kubectl get pods -o wide
|
|
kubectl describe
|
Show detailed status of a specific pod, service or deployment. |
kubectl describe pod web-pod
|
|
kubectl apply
|
Apply or update a resource configuration from a YAML file. |
kubectl apply -f deployment.yaml
|
|
kubectl logs
|
Print the execution logs of a container inside a pod. |
kubectl logs web-pod -c app-container
|
|
kubectl exec
|
Execute an interactive shell or single command inside a running pod container. |
kubectl exec -it web-pod -- sh
|
|
kubectl get svc
|
List all exposed services and external endpoints in namespace. |
kubectl get svc --all-namespaces
|
Standard system, directory filesystem, & networking commands
| Command | Description | Example | Copy |
|---|---|---|---|
ls -la
|
List directory contents in long format, including hidden dotfiles. |
ls -la /var/www/html
|
|
chmod 755
|
Set read, write, and execute permissions. 755 allows owner full, others read/execute. |
chmod 755 deploy.sh
|
|
chown root
|
Change the user and group ownership of a specified file or directory. |
chown -R www-data:www-data /var/www
|
|
ps aux
|
Inspect all active processes running on host. |
ps aux | grep nginx
|
|
systemctl
|
Control systemd system services. Start, stop, or query daemon units. |
systemctl restart nginx
|
|
df -h
|
Report total disk space usage across all mounted filesystems in human-readable formats. |
df -h /data
|
Control your Amazon Web Services resources from the command-line
| Command | Description | Example | Copy |
|---|---|---|---|
aws s3 ls
|
List all S3 buckets or folders inside a specified bucket path. |
aws s3 ls s3://my-assets-bucket
|
|
aws s3 cp
|
Copy local files into S3 buckets or synchronize folders. |
aws s3 cp photo.jpg s3://my-bucket/
|
|
aws ec2 describe
|
Retrieve lists of running instances and metadata parameters. |
aws ec2 describe-instances --filters "Name=instance-state-name,Values=running"
|
|
aws iam list
|
List all IAM roles or active users within AWS account. |
aws iam list-users
|
|
aws lambda invoke
|
Invoke a serverless Lambda function synchronously and output payload. |
aws lambda invoke --function-name MyHandler output.txt
|
|
aws configure
|
Configure your default regional parameters and credential access keys. |
aws configure --profile custom-dev
|
Node Package Manager command guidelines and dependency workflows
| Command | Description | Example | Copy |
|---|---|---|---|
npm install
|
Install all dependencies mapped inside package.json locally. |
npm install express
|
|
npm run dev
|
Execute standard local development hot-reload build scripts. |
npm run dev
|
|
npm publish
|
Publish a library package to the npm registry repository. |
npm publish --access public
|
|
npm update
|
Update dependency packages in repository to match package.json constraints. |
npm update lodash
|
|
npm run build
|
Compile production bundle assets according to bundler configuration. |
npm run build
|
|
npm uninstall
|
Remove package from local node_modules directory and package.json schema. |
npm uninstall bootstrap
|
--help Flag
Every CLI tool supports the --help flag (and often -h).
It prints a built-in usage guide directly in your terminal — no browser needed. Combine it with man pages for deeper exploration.
git commit --help
docker run --help
kubectl get --help
Press Tab to autocomplete commands and paths — saves dozens of keystrokes per session.
Press Ctrl+R to reverse-search your command history instantly.
Chain commands with | (pipe) and && to build powerful one-liners.
Take our 2-minute real-time telemetry scan to analyze your exact version control or container virtualization tier.
Know a handy command that's missing from our reference? Help the community by submitting it.
All contributions are reviewed by our team before publishing.