azlin update¶
Update development tools on a VM
Description¶
The azlin update command updates all development tools and programming languages that were installed during VM provisioning. This includes Node.js packages, Rust toolchain, Python tools, Docker, Azure CLI, GitHub CLI, and AI CLI assistants.
Note: This updates development tools, NOT operating system packages. For OS updates, use azlin os-update.
Usage¶
Arguments¶
| Argument | Description |
|---|---|
VM_IDENTIFIER | VM name, session name, or IP address (required) |
Options¶
| Option | Type | Description |
|---|---|---|
--resource-group, --rg TEXT | Name | Azure resource group |
--config PATH | Path | Config file path |
--timeout INTEGER | Seconds | Timeout per update in seconds (default: 300) |
-h, --help | Flag | Show command help and exit |
Examples¶
Update by VM Name¶
Update by Session Name¶
Update by IP Address¶
Update with Custom Timeout¶
Update with Explicit Resource Group¶
What Gets Updated¶
- Node.js: npm packages, global npm tools
- Python: pip, uv, astral-uv
- Rust: rustc, cargo (via rustup)
- Go: go toolchain
- .NET: dotnet SDK and runtime
- Docker: docker engine and CLI
- GitHub CLI: gh command
- Azure CLI: az command
- AI Tools: GitHub Copilot CLI, OpenAI Codex CLI, Claude Code CLI
Troubleshooting¶
Update Timeout¶
Symptoms: Update times out
Solutions:
# Increase timeout
azlin update my-vm --timeout 900
# Or update manually via SSH
azlin connect my-vm
npm update -g
rustup update
pip install --upgrade pip uv
Specific Tool Fails¶
Symptoms: One tool fails to update
Solutions:
# SSH to VM and update manually
azlin connect my-vm
# Update specific tools
npm update -g # Node.js
rustup update # Rust
pip install --upgrade pip uv # Python
Related Commands¶
azlin os-update- Update OS packagesazlin connect- SSH to VMazlin new- Provision VM with latest tools
Source Code¶
- cli.py - Command definition