https://github.com/winand/uv-offline-project-installation
https://github.com/winand/uv-offline-project-installation
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/winand/uv-offline-project-installation
- Owner: Winand
- Created: 2024-11-20T14:43:03.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-21T11:46:09.000Z (over 1 year ago)
- Last Synced: 2025-01-31T06:37:37.913Z (over 1 year ago)
- Language: PowerShell
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
An exampe of a uv project which can be installed in an air-gapped environment.
1. Download packages using `download-requirements.ps1`
2. Enable offline mode in `~/.config/uv/uv.toml` on the target machine
```toml
offline = true
no-index = true
```
2. Copy packages to the `packages` folder on the target machine
3. Install project using `install.sh`
See also [uv #9277](https://github.com/astral-sh/uv/issues/9277)