Back to Cheatsheets

Development Cheatsheet

Essential development tools, practices, and workflows for modern software development.

Git Workflow

git init

Initialize new repository

git clone url

Clone repository

git checkout -b branch

Create and switch to branch

git merge branch

Merge branch into current

git rebase branch

Rebase current branch

Package Management

npm init

Initialize Node.js project

pip install package

Install Python package

go get package

Install Go package

cargo add package

Add Rust dependency

yarn add package

Add Node.js dependency

Build Tools

npm run build

Build Node.js project

mvn clean install

Build Java project

gradle build

Build Gradle project

cargo build

Build Rust project

go build

Build Go project

Testing

npm test

Run Node.js tests

pytest

Run Python tests

go test ./...

Run Go tests

cargo test

Run Rust tests

jest

Run Jest tests

Code Quality

eslint .

Lint JavaScript code

pylint .

Lint Python code

gofmt -w .

Format Go code

rustfmt .

Format Rust code

prettier --write .

Format code with Prettier

Development Tools

docker-compose up

Start Docker services

kubectl apply -f file

Apply Kubernetes config

terraform init

Initialize Terraform

helm install release chart

Install Helm chart

aws configure

Configure AWS CLI