Installation
π ζ₯ηδΈζζζ‘£
This guide covers how to install dotnet-httpie on different platforms and environments.
Prerequisites
- .NET SDK 10.0 or later
- Internet connection for package installation
Global Tool Installation (Recommended)
Install Latest Stable Version
dotnet tool update --global dotnet-httpie
Install Latest Preview Version
dotnet tool update --global dotnet-httpie --prerelease
Install Specific Version
dotnet tool install --global dotnet-httpie --version 0.12.0
Alternative Installation Methods
Option 2: Pre-built Binaries
Download platform-specific executables from GitHub Releases:
- Windows:
dotnet-httpie-win-x64.exe - Linux:
dotnet-httpie-linux-x64 - macOS:
dotnet-httpie-osx-x64
Extract and add to your system PATH for global access.
Option 3: Docker
See the Docker Usage Guide for containerized usage.
Verification
After installation, verify that dotnet-httpie is working correctly:
dotnet-http --version
You should see output similar to:
dotnet-httpie/0.12.0 (.NET; HTTPie-like)
Docker Installation
If you prefer using Docker instead of installing globally:
Pull Latest Image
docker pull weihanli/dotnet-httpie:latest
Use Without Installation
docker run --rm weihanli/dotnet-httpie:latest --help
Updating
Update Global Tool
dotnet tool update --global dotnet-httpie
Update to Preview Version
dotnet tool update --global dotnet-httpie --prerelease
Uninstallation
Remove Global Tool
dotnet tool uninstall --global dotnet-httpie
Remove Docker Image
docker rmi weihanli/dotnet-httpie:latest
Troubleshooting Installation
Common Issues
- Permission Denied: Make sure you have proper permissions to install global tools
- PATH Issues: Ensure the .NET tools directory is in your PATH
- Old .NET Version: Verify you have .NET 10.0 or later installed
Check .NET Version
dotnet --version
Check Installed Tools
dotnet tool list --global
Reinstall if Corrupted
dotnet tool uninstall --global dotnet-httpie
dotnet tool install --global dotnet-httpie
Platform-Specific Notes
Windows
- Tools are installed to
%USERPROFILE%\.dotnet\tools - May require restart of command prompt/PowerShell
macOS/Linux
- Tools are installed to
~/.dotnet/tools - May need to restart terminal session
CI/CD Environments
See CI/CD Integration for specific setup instructions for continuous integration environments.
Next Steps
Once installed, continue with the Quick Start Guide to begin using dotnet-httpie.