astracode-agent 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/astracode-agent.cjs +534 -506
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,6 +15,18 @@ It works on macOS and Linux, on arm64 and x64. It checks the download's
|
|
|
15
15
|
checksum, and on a Mac also checks that AstraCode signed it. To update, run
|
|
16
16
|
`astracode-agent update`, which runs the same installer for the latest version.
|
|
17
17
|
|
|
18
|
+
On Windows, x64 or arm64, in PowerShell:
|
|
19
|
+
|
|
20
|
+
```powershell
|
|
21
|
+
irm https://astracode.io/install.ps1 | iex
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
That puts `astracode-agent.exe` in `%USERPROFILE%\.local\bin`, checks the
|
|
25
|
+
download's checksum, and adds the folder to your user PATH, with no
|
|
26
|
+
administrator rights. `$env:ASTRACODE_VERSION` pins a version and
|
|
27
|
+
`$env:ASTRACODE_BIN_DIR` picks another folder, as they do for `install.sh`.
|
|
28
|
+
`astracode-agent update` runs this installer on Windows.
|
|
29
|
+
|
|
18
30
|
With Homebrew, on macOS or Linux:
|
|
19
31
|
|
|
20
32
|
```bash
|