# Prepare Offline

The `prepare:offline` command prepares a Shell Template project for installation without network access. It:

- downloads every remote package tarball referenced by `package-lock.json` into `tarballs/`,
- preserves the online lock as `package-lock.online.json`,
- writes local tarball references to `package-lock.offline.json`, and
- activates the offline lock as `package-lock.json`.

Run the command from the root of a Shell Template project:

```bash
ch5-shell-cli prepare:offline
```

The shorthand alias is `ch5-shell-cli prep:o`.