scripts/README.md
This directory contains testing and utility scripts for FVM.
The main installation scripts (install.sh and uninstall.sh) are located in docs/public/ and served at https://fvm.app/install.sh.
Usage:
# Install latest version
curl -fsSL https://fvm.app/install.sh | bash
# Install specific version
curl -fsSL https://fvm.app/install.sh | bash -s 3.2.1
# Uninstall FVM
./docs/public/install.sh --uninstall
Test script for the installation logic:
Usage:
# Test as regular user
./scripts/test-install.sh
# Test all scenarios (requires root)
sudo ./scripts/test-install.sh
PowerShell installation script for Windows.
Documentation for the installation process.
One-command validation for legacy git-cache migration to a bare mirror.
What it validates:
fvm 4.0.1 (stable, one stable release, beta)dart run bin/main.dart install stablelist output and SDK executabilityUsage:
# Default run (isolated cache in .context/tmp)
./scripts/manual-migration-test.sh
# Specify release version explicitly
./scripts/manual-migration-test.sh --release-version 3.41.3
# Remove test cache at the end
./scripts/manual-migration-test.sh --cleanup
All scripts follow: