Skip to main content
Bash Development Tools

Bash Development Tools

Bash scripting environment with shellcheck linting, shfmt formatting, and language server support.

bashshellscriptingshellcheckshfmtlintingformatting
Overview

Complete Bash development setup including shellcheck for static analysis and linting, shfmt for code formatting, and bash-language-server for IDE features like autocomplete and go-to-definition. Includes VS Code extensions for inline warnings and format-on-save.

Script ID:dev-bash
Script:install-dev-bash.sh

System Packages

PackageDescription
shellcheckStatic analysis / linting for shell scripts
shfmtShell script formatter

Node.js Packages (npm)

PackageDescription
bash-language-serverAutocomplete, go-to-definition, hover docs

VS Code Extensions

ExtensionDescription
ShellCheckInline shellcheck warnings
shell-formatFormat on save
Bash IDELanguage server integration

Installation

Install via the interactive menu:

dev-setup

Or install directly:

.devcontainer/additions/install-dev-bash.sh
Full installation options (click to expand)


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Bash Development Tools
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ID: dev-bash
Name: Bash Development Tools
Script version: 0.0.1
Category: LANGUAGE_DEV, Development Tools
Description: Adds shellcheck, shfmt, bash-language-server, and VS Code extensions for Bash development

Usage:

Action:
install-dev-bash.sh # Install Bash development tools
install-dev-bash.sh --uninstall # Uninstall Bash development tools

Info:
install-dev-bash.sh --help # Show help and usage information

System Packages (APT):
- shellcheck
- shfmt

Node.js Packages (NPM):
- bash-language-server

VS Code Extensions:
- ShellCheck (timonwong.shellcheck) - Inline shellcheck warnings
- shell-format (foxundermoon.shell-format) - Format on save
- Bash IDE (mads-hartmann.bash-ide-vscode) - Language server integration

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━