diff --git a/dev/rest-api/quickstart/index.html b/dev/rest-api/quickstart/index.html index 6c90bacc..9d4124d8 100644 --- a/dev/rest-api/quickstart/index.html +++ b/dev/rest-api/quickstart/index.html @@ -2273,19 +2273,20 @@

Before you begin

You need a working unshackle install with services and CDM devices already configured, exactly as you would for a normal command-line download. If unshackle dl works for you, the API will too, since it runs the identical download pipeline.

-
+

If you have no install yet, follow Installation. Then check your tools:

+
-
uv tool install git+https://github.com/unshackle-dl/unshackle.git
-unshackle --help
+
uv run unshackle env check
 
-
uv run unshackle --help
+
unshackle env check
 
+

This page uses the bare unshackle command. From a git clone, the recommended install, run each command as uv run unshackle ....


Step 1: Configure an API secret

The server authenticates every request (except the health check) with an API key that you send in the X-Secret-Key header. The server reads this API key from the serve section of your unshackle.yaml config.

diff --git a/getting-started/configuration-file/index.html b/getting-started/configuration-file/index.html index c40603a2..0b30134a 100644 --- a/getting-started/configuration-file/index.html +++ b/getting-started/configuration-file/index.html @@ -2215,12 +2215,12 @@ 1 The unshackle package folder -.../site-packages/unshackle/unshackle.yaml +<clone>/unshackle/unshackle.yaml (a uv tool install: .../site-packages/unshackle/unshackle.yaml) 2 The parent of the package folder -.../site-packages/unshackle.yaml +<clone>/unshackle.yaml (a uv tool install: .../site-packages/unshackle.yaml) 3 @@ -2229,7 +2229,12 @@ -

The third location, your per-user config directory, is the recommended place for most installations, because it lives outside the package and survives reinstalls and upgrades. Its exact path depends on your operating system:

+

Where the file belongs depends on how you installed unshackle:

+
    +
  • Git clone (recommended). Keep the file at unshackle/unshackle.yaml inside the clone, which is location 1. unshackle setup writes a new config there, and it stays with the clone when you update it.
  • +
  • uv tool install. Use location 3, your per-user config directory. A uv tool upgrade replaces the package folder, so a file at location 1 or 2 is lost. unshackle setup writes a new config there.
  • +
+

The path of the per-user config directory depends on your operating system:

@@ -2482,7 +2487,11 @@ and every available config key.

Show everything currently set with --list:

$ unshackle cfg --list
 
-

When it writes, unshackle cfg targets the config file that unshackle loaded. If none exists yet, it makes unshackle.yaml inside the unshackle package folder (location 1 above), not your OS user-config directory. To keep the config outside the package, make the file at the user-config path yourself first, then unshackle cfg writes to it.

+

When it writes, unshackle cfg targets the config file that unshackle loaded. If none exists yet, it makes unshackle.yaml in the unshackle package folder (location 1 above):

+
    +
  • Git clone. That is unshackle/unshackle.yaml in the clone, which is the correct place.
  • +
  • uv tool install. A tool upgrade replaces the package folder and deletes that file. Run unshackle setup first, which writes the config to your user config directory, or make the file there yourself. Then unshackle cfg writes to it.
  • +

Editing with cfg strips comments

Because unshackle cfg rewrites the whole file when it saves, a write removes any comments in unshackle.yaml. If you keep important notes as comments, edit the file by hand instead, or keep those notes elsewhere.

diff --git a/getting-started/installation/index.html b/getting-started/installation/index.html index cbb1272c..a4f53c08 100644 --- a/getting-started/installation/index.html +++ b/getting-started/installation/index.html @@ -570,6 +570,45 @@
    +
  • + + + + Install from a git clone (recommended) + + + + +
  • + +
  • + + + + What unshackle setup does + + + + + + +
  • +
  • @@ -593,15 +632,15 @@
  • - + - Installing with uv + Installing by hand -