System Requirements
Go Version
Cosmos SDK requires Go 1.25.7 or later. The SDK uses the latest Go features for optimal performance and security.We advise always using the latest maintained Go version for building Cosmos SDK applications.
Operating Systems
The Cosmos SDK is supported on:- Linux (recommended for production)
- macOS (recommended for development)
- Windows (via WSL2)
Hardware Requirements
Minimum specifications for development:- CPU: 2+ cores
- RAM: 4GB minimum, 8GB recommended
- Disk: 20GB available space
- Network: Stable internet connection for syncing
Installation Methods
Method 1: Install from Source (Recommended)
Building from source gives you the latest features and allows customization.Install Go
Configure Go Environment
Set up your Go workspace by adding these to your shell profile (Apply the changes:
~/.bashrc, ~/.zshrc, etc.):Build and Install
Build the SimApp example application:This compiles the
simd binary and installs it to $GOPATH/bin.The build process uses build tags defined in the Makefile. Default tags include
netgo for static linking.Method 2: Install from Release
For stable releases, you can download pre-built binaries:Method 3: Using Docker
For containerized development:Build Options
The Cosmos SDK supports various build options through environment variables:Database Backend Selection
Ledger Support
Enable hardware wallet support:Ledger support requires
gcc installed on Linux/macOS. On Windows, you need gcc.exe.Cross-Platform Builds
Build for different platforms:build/ directory.
Debug Builds
For debugging with symbols:Dependencies
Required System Packages
Install build dependencies for your platform:Optional: Development Tools
Useful tools for development:Environment Setup
Set Default Node Home
Customize where blockchain data is stored:Configure Shell Completion
Enable command-line autocomplete:Verification Steps
After installation, verify your setup:1. Check Binary Installation
2. Test Basic Commands
3. Initialize a Test Chain
4. Check Go Module
For custom applications using the SDK as a dependency:Troubleshooting
Issue: simd: command not found
Solution: Ensure $GOPATH/bin is in your PATH:
Issue: Go Version Too Old
Solution: Update Go to 1.25.7 or later:Issue: Build Fails with Ledger Errors
Solution: Disable Ledger support if you don’t need it:Issue: cannot find module Error
Solution: Ensure dependencies are downloaded:
Issue: Disk Space
Solution: Clean build artifacts:Additional Tools
Cosmovisor
Automatic binary upgrade management:Confix
Configuration file migration tool:Building Custom Applications
To use Cosmos SDK in your own project:1. Initialize Go Module
2. Add Cosmos SDK Dependency
3. Import in Your Code
Next Steps
Quickstart
Initialize and run your first blockchain node
Application Architecture
Learn how Cosmos SDK applications are structured
Building Modules
Start building custom blockchain modules
Building Chains
Deep dive into creating blockchain applications
Staying Updated
Check for Updates
Upgrade to New Version
Community Resources
- Documentation: docs.cosmos.network
- Discord: discord.com/invite/interchain
- GitHub: github.com/cosmos/cosmos-sdk
- Tutorials: tutorials.cosmos.network