@@ -5,12 +5,20 @@ import TabItem from '@theme/TabItem';
55
66<Tabs >
77<TabItem value =" mac " label =" MacOS " default >
8- Use <a >brew</a > package manaager
8+ Use <a >brew</a > package manager
99<br />
1010<br />
1111
12+ Add the 1-platform brew tap
13+
1214``` bash
13- brew install one-platform/apic
15+ brew tap 1-platform/homebrew-tools
16+ ```
17+
18+ Now you can install the CLI
19+
20+ ``` bash
21+ brew install 1-platform/apic
1422```
1523
1624</TabItem >
@@ -19,31 +27,99 @@ We use cloudsmith to distribute packages
1927<br />
2028<br />
2129
30+ Add 1-platform cloudsmith repo url to your package manager
31+
2232``` bash
33+ apk add --no-cache bash curl
34+
2335curl -1sLf \
24- ' https://dl.cloudsmith.io/public/OWNER/REPOSITORY/cfg/setup/bash.deb.sh' \
25- | sudo bash
36+ ' https://dl.cloudsmith.io/public/1-platform/apic/cfg/setup/bash.alpine.sh' \
37+ | bash
38+ ```
39+
40+ Now you can install the CLI
41+
42+ ``` bash
43+ apk add apic --update-cache
2644```
2745
2846</TabItem >
29- <TabItem value =" deb " label =" Debian/Ubuntu " >
47+
48+ <TabItem value =" deb " label =" Debian/Ubuntu " >
3049We use cloudsmith to distribute packages
3150<br />
3251<br />
3352
53+ Add 1-platform cloudsmith repo url to your package manager
54+
3455``` bash
56+ apt-get update && apt-get install -y bash curl
57+
3558curl -1sLf \
36- ' https://dl.cloudsmith.io/public/OWNER/REPOSITORY/cfg/setup/bash.deb.sh' \
37- | sudo bash
59+ ' https://dl.cloudsmith.io/public/1-platform/apic/cfg/setup/bash.deb.sh' \
60+ | bash
61+ ```
62+
63+ Now you can install the CLI
64+
65+ ``` bash
66+ apt-get update && apt-get install -y apic
3867```
3968
4069</TabItem >
70+
71+ <TabItem value =" linux " label =" RedHat/Amazon-Linux " >
72+ We use cloudsmith to distribute packages
73+ <br />
74+ <br />
75+
76+ Add 1-platform cloudsmith repo url to your package manager
77+
78+ ``` bash
79+ curl -1sLf \
80+ ' https://dl.cloudsmith.io/public/1-platform/apic/cfg/setup/bash.rpm.sh' \
81+ | sh
82+ ```
83+
84+ Now you can install the CLI
85+
86+ ``` bash
87+ yum install apic
88+ ```
89+
90+ If your a fedora user
91+
92+ ``` bash
93+ dnf install apic
94+ ```
95+
96+ </TabItem >
97+
98+ <TabItem value =" widows " label =" Windows " >
99+ We use scoop to distribute packages
100+ <br />
101+ <br />
102+
103+ Add 1-platform scoop repo url
104+
105+ ``` bash
106+ scoop bucket add https://github.com/1-Platform/scoop-tools
107+ ```
108+
109+ Now you can install the CLI
110+
111+ ``` bash
112+ scoop install apic
113+ ```
114+
115+ </TabItem >
116+
41117</Tabs >
42118
43119To make sure it's installed correctly you can run
44120
45121``` bash
46- apic help
122+ apic --version
47123```
48124
49125### Run against an OpenAPI
0 commit comments