Created
April 26, 2025 10:22
-
-
Save davlgd/84d7e8fdbfbe11438d4f38321b0a1b05 to your computer and use it in GitHub Desktop.
Clever Tools Windows install script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Clever Tools Installer for Windows | |
# This script downloads and installs Clever Tools in a configurable directory. | |
# Usage: .\clever-install.ps1 [install_dir] | |
param( | |
[string]$InstallDir = "$env:USERPROFILE\.clever" | |
) | |
Write-Host "Clever Tools Installer" -ForegroundColor Green | |
Write-Host "Target install directory: $InstallDir" | |
$zip = "clever-tools-latest_win.zip" | |
$url = "https://clever-tools.clever-cloud.com/releases/latest/$zip" | |
Write-Host "Downloading Clever Tools from $url..." | |
Invoke-WebRequest $url -OutFile $zip | |
Write-Host "Extracting archive..." | |
Expand-Archive -Path $zip -DestinationPath $InstallDir -Force | |
Remove-Item $zip | |
$binPath = Join-Path $InstallDir "clever-tools-latest_win" | |
Write-Host "Clever Tools installed in $binPath" | |
Write-Host "Add $binPath to your PATH to use 'clever' from anywhere." | |
Write-Host "Run: .\clever.exe --help" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment