@phystack/phyctl-phyos 4.5.61-dev → 4.5.63-dev
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 +27 -12
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# phyctl
|
|
2
2
|
|
|
3
|
-
PhyStack control plane CLI for managing PhyOS devices.
|
|
3
|
+
PhyStack control plane CLI for managing PhyOS devices. Compiled as a standalone Bun binary.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -15,27 +15,26 @@ npm automatically downloads the correct binary for your platform.
|
|
|
15
15
|
### Direct binary download (no npm required)
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
+
VERSION=4.5.62-dev # replace with desired version
|
|
19
|
+
|
|
18
20
|
# Linux ARM64
|
|
19
|
-
curl -sL "https://registry.npmjs.org/@phystack/phyctl-linux-arm64/-/phyctl-linux-arm64
|
|
20
|
-
sudo mv phyctl /usr/local/bin/
|
|
21
|
-
hash -r
|
|
21
|
+
sudo curl -sL "https://registry.npmjs.org/@phystack/phyctl-linux-arm64/-/phyctl-linux-arm64-${VERSION}.tgz" | sudo tar xz --strip-components=2 -C /usr/bin package/bin/phyctl
|
|
22
22
|
|
|
23
23
|
# Linux x86_64
|
|
24
|
-
curl -sL "https://registry.npmjs.org/@phystack/phyctl-linux-x64/-/phyctl-linux-x64
|
|
25
|
-
sudo mv phyctl /usr/local/bin/
|
|
24
|
+
sudo curl -sL "https://registry.npmjs.org/@phystack/phyctl-linux-x64/-/phyctl-linux-x64-${VERSION}.tgz" | sudo tar xz --strip-components=2 -C /usr/bin package/bin/phyctl
|
|
26
25
|
|
|
27
26
|
# macOS Apple Silicon
|
|
28
|
-
curl -sL "https://registry.npmjs.org/@phystack/phyctl-darwin-arm64/-/phyctl-darwin-arm64
|
|
29
|
-
sudo mv phyctl /usr/local/bin/
|
|
27
|
+
curl -sL "https://registry.npmjs.org/@phystack/phyctl-darwin-arm64/-/phyctl-darwin-arm64-${VERSION}.tgz" | tar xz --strip-components=2 -C /usr/local/bin package/bin/phyctl
|
|
30
28
|
|
|
31
29
|
# macOS Intel
|
|
32
|
-
curl -sL "https://registry.npmjs.org/@phystack/phyctl-darwin-x64/-/phyctl-darwin-x64
|
|
33
|
-
sudo mv phyctl /usr/local/bin/
|
|
30
|
+
curl -sL "https://registry.npmjs.org/@phystack/phyctl-darwin-x64/-/phyctl-darwin-x64-${VERSION}.tgz" | tar xz --strip-components=2 -C /usr/local/bin package/bin/phyctl
|
|
34
31
|
```
|
|
35
32
|
|
|
36
|
-
|
|
33
|
+
To check available versions:
|
|
37
34
|
|
|
38
|
-
|
|
35
|
+
```bash
|
|
36
|
+
npm view @phystack/phyctl-linux-arm64 versions --json
|
|
37
|
+
```
|
|
39
38
|
|
|
40
39
|
## Supported platforms
|
|
41
40
|
|
|
@@ -45,3 +44,19 @@ Replace `VERSION` with the desired version (e.g., `4.4.69`).
|
|
|
45
44
|
| Linux | x86_64 | `@phystack/phyctl-linux-x64` |
|
|
46
45
|
| macOS | ARM64 | `@phystack/phyctl-darwin-arm64` |
|
|
47
46
|
| macOS | x86_64 | `@phystack/phyctl-darwin-x64` |
|
|
47
|
+
|
|
48
|
+
## Building from source
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
yarn build:binary # compile for current platform
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Or use the central build script for cross-compilation:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# from repo root
|
|
58
|
+
yarn build:binaries # current platform
|
|
59
|
+
yarn build:binaries:cross # all platforms
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Output: `dist-binaries/<platform>/phyctl`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phystack/phyctl-phyos",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.63-dev",
|
|
4
4
|
"exports": "./index.js",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"description": "",
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
-
"@phystack/phyctl-darwin-arm64": "4.5.
|
|
34
|
-
"@phystack/phyctl-darwin-x64": "4.5.
|
|
35
|
-
"@phystack/phyctl-linux-arm64": "4.5.
|
|
36
|
-
"@phystack/phyctl-linux-x64": "4.5.
|
|
33
|
+
"@phystack/phyctl-darwin-arm64": "4.5.63-dev",
|
|
34
|
+
"@phystack/phyctl-darwin-x64": "4.5.63-dev",
|
|
35
|
+
"@phystack/phyctl-linux-arm64": "4.5.63-dev",
|
|
36
|
+
"@phystack/phyctl-linux-x64": "4.5.63-dev"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "ad3302d7fcb12285ec7eaeb28a606b9c05b0e822"
|
|
39
39
|
}
|