Skip to content

Commit 16baaf9

Browse files
bmickleajavisperez
andauthored
Huge docs update (#922)
* Huge docs update This PR updates most of the docs on the KitOps site based on what we've learned over the last several months. This also adds richer SEO metadata to most pages and tries to standardize some of our approach page-to-page. Signed-off-by: Brad Micklea <[email protected]> * update relative links Signed-off-by: Javis V. Pérez <[email protected]> --------- Signed-off-by: Brad Micklea <[email protected]> Signed-off-by: Javis V. Pérez <[email protected]> Co-authored-by: Javis V. Pérez <[email protected]>
1 parent 66cfae7 commit 16baaf9

File tree

15 files changed

+874
-735
lines changed

15 files changed

+874
-735
lines changed

docs/.vitepress/config.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,11 @@ export default defineConfig({
8383
text: 'Getting started',
8484
items: [
8585
{ text: 'Overview', link: '/docs/overview/' },
86+
{ text: 'How it is Used', link: '/docs/use-cases/' },
8687
{ text: 'Get Started', link: '/docs/get-started/' },
87-
{ text: 'Next Steps', link: '/docs/next-steps/' },
8888
{ text: 'HuggingFace Import', link: '/docs/hf-import/' },
8989
{ text: 'Deploy ModelKits', link: '/docs/deploy/' },
9090
{ text: 'Why KitOps?', link: '/docs/why-kitops/' },
91-
{ text: 'How it is Used', link: '/docs/use-cases/' },
9291
]
9392
},
9493
{
@@ -129,6 +128,7 @@ export default defineConfig({
129128
{
130129
text: 'Integrations',
131130
items: [
131+
{ text: 'Integration List', link: '/docs/integrations/integrations/' },
132132
{ text: 'MLFlow', link: '/docs/integrations/mlflow/' },
133133
{ text: 'CI/CD', link: '/docs/integrations/cicd/' },
134134
{ text: 'Kubernetes - initContainer', link: '/docs/integrations/k8s-init-container/' },

docs/.vitepress/theme/posts.cache.json

Lines changed: 201 additions & 38 deletions
Large diffs are not rendered by default.

docs/src/docs/cli/installation.md

Lines changed: 82 additions & 184 deletions
Original file line numberDiff line numberDiff line change
@@ -1,293 +1,191 @@
11
---
2-
description: Learn how to install the Kit CLI on MacOS, Windows, and Linux. Follow our detailed instructions to set up KitOps and start managing your AI/ML ModelKits efficiently.
2+
title: Install KitOps CLI - macOS, Windows, Linux
3+
description: Learn how to install KitOps, the open-source CLI for packaging and managing AI/ML models with ModelKits. Supports macOS, Windows, Linux, and source builds.
4+
keywords: install kitops, kit CLI download, kitops mac brew, kitops windows zip, linux modelkit CLI, install ai model packaging tool, mlops cli tool
35
---
46

57
<script setup>
68
import vGaTrack from '@theme/directives/ga'
79
</script>
810

9-
# Installing Kit
11+
# Installing KitOps
1012

11-
Kit is a command line tool for building and managing secure and shareable ModelKits. It works on Mac, Windows, and Linux computers.
13+
`kit` is the command-line tool for building and managing ModelKits.
1214

13-
This page includes instructions for:
15+
Pick your platform to get started:
16+
- [MacOS](#-macos-install)
17+
- [Windows](#-windows-install)
18+
- [Linux](#-linux-install)
19+
- [Build from source](#build-sources)
1420

15-
* Installing on [MacOS](#🍎-macos-install) with Brew or ZIP
16-
* Installing on [Windows](#🪟-windows-install) with ZIP
17-
* Installing on [Linux](#🐧-linux-install) with Brew or TAR
18-
* Building from the [source code](#🛠️-build-from-source-code)
21+
Need help? [Join the community on Discord](https://discord.gg/Tapeh8agYy).
1922

20-
[ discord banner ]
23+
## 🍎 MacOS KitOps Install
2124

22-
## 🍎 MacOS Install
23-
24-
The simplest way to install Kit on a Mac is with [Homebrew](https://brew.sh/). You can also install from [ZIP](#mac-install-from-zip).
25-
26-
### Mac Brew Install
27-
28-
1. Open a Terminal window
29-
1. At the prompt type: `brew tap kitops-ml/kitops` (if that doesn't work use the [ZIP instructions](#mac-install-from-zip)
30-
1. When the previous command completes, type `brew install kitops`
31-
32-
You can verify that `kit` is correctly installed by opening a new terminal or command prompt and typing:
33-
34-
```shell
35-
kit version
25+
Install with Homebrew (recommended)
26+
```sh
27+
brew tap kitops-ml/kitops
28+
brew install kitops
3629
```
3730

38-
This command should display the version number of the Kit CLI you have installed, indicating that the installation was successful.
39-
40-
Now follow our [Quick Start](../../get-started/) to learn how to pack and share your first ModelKit.
41-
42-
**Need Help?** If something isn't working [get help on our Discord channel](https://discord.gg/Tapeh8agYy).
31+
➡️ [Verify your installation](#verify-the-installation)
4332

44-
### Mac Install from ZIP
33+
Or use ZIP instead...
4534

46-
There are two generations of Mac hardware, if you aren't sure which you have [check here](https://www.sweetwater.com/sweetcare/articles/intel-based-mac-or-mac-with-apple-silicon/#:~:text=Choose%20About%20This%20Mac.,a%20Mac%20with%20Apple%20silicon.&text=As%20of%20this%20writing%2C%20Apple,have%20an%20Intel%2Dbased%20Mac.).
47-
48-
1. MacOS: <a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-darwin-arm64.zip"
35+
1. Get the ZIP for your Mac chip type.
36+
- MacOS:<a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-darwin-arm64.zip"
4937
v-ga-track="{
5038
category: 'link',
5139
label: 'MacOS (Apple Silicon)',
5240
location: 'docs/installation'
5341
}">
5442
Apple Silicon / ARM64
5543
</a>
56-
57-
2. MacOS: <a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-darwin-x86_64.zip"
44+
- MacOS:<a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-darwin-x86_64.zip"
5845
v-ga-track="{
5946
category: 'link',
6047
label: 'MacOS (Intel)',
6148
location: 'docs/installation'
6249
}">
6350
Intel / x86_64
6451
</a>
52+
2. Move the kit executable to `/usr/local/bin`
53+
3. Test it worked by running `kit version` in your terminal
54+
4. [Verify your installation](#verify-the-installation)
6555

66-
The Kit download will happen _so quickly_ on a fast connection that you might miss it...
67-
68-
* Open the Mac Finder and check your downloads location for a file that starts with `kitops-darwin`
69-
* Double-click the `.zip` file to unpack it
70-
* Select the executable file named `kit` from unpacked folder and move it to `/usr/local/bin`
71-
72-
You can verify that `kit` is correctly installed by opening a new terminal or command prompt and typing:
73-
74-
```shell
75-
kit version
76-
```
77-
78-
This command should display the version number of the Kit CLI you have installed, indicating that the installation was successful.
79-
80-
Now follow our [Quick Start](../../get-started/) to learn how to pack and share your first ModelKit.
81-
82-
**Need Help?** If something isn't working [get help on our Discord channel](https://discord.gg/Tapeh8agYy).
83-
84-
## 🪟 Windows Install
85-
86-
Make sure you get the correct download for your hardware.
56+
## 🪟 Windows KitOps Install
8757

88-
1. Windows: <a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-windows-x86_64.zip"
58+
1. Get the ZIP for your hardware type:
59+
- Windows: <a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-windows-x86_64.zip"
8960
v-ga-track="{
9061
category: 'link',
9162
label: 'Windows (AMD64)',
9263
location: 'docs/installation'
9364
}">
9465
Intel / AMD, 64-bit
9566
</a>
96-
97-
1. Windows: <a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-windows-arm64.zip"
67+
- Windows: <a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-windows-arm64.zip"
9868
v-ga-track="{
9969
category: 'link',
10070
label: 'Windows (ARM64)',
10171
location: 'docs/installation'
10272
}">
10373
ARM 64-bit
10474
</a>
105-
106-
1. Windows: <a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-windows-i386.zip"
75+
- Windows: <a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-windows-i386.zip"
10776
v-ga-track="{
10877
category: 'link',
10978
label: 'Windows (x86_32)',
11079
location: 'docs/installation'
11180
}">
11281
Intel / AMD, 32-bit
11382
</a>
83+
2. Unzip the file using “Extract All…”
84+
3. Move `kit.exe` to a folder in your system PATH
85+
4. [Verify your installation](#verify-the-installation)
11486

115-
The Kit download will happen _so quickly_ on a fast connection that you might miss it...
116-
117-
* Open the File Explorer and check your downloads location for a file that starts with `kitops-windows`
118-
* Right-click the `.zip` file and select "Extract All..." to unzip the archive
119-
* Move the extracted `kit.exe` to a directory that is <a href="https://www.computerhope.com/issues/ch000549.htm" target="_blank">included in your system's PATH variable</a> (this will allow you to run the Kit CLI from anywhere).
120-
121-
You can verify that `kit` is correctly installed by opening a new terminal or command prompt and typing:
122-
123-
```shell
124-
kit version
125-
```
126-
127-
This command should display the version number of the Kit CLI you have installed, indicating that the installation was successful.
128-
129-
Now follow our [Quick Start](../../get-started/) to learn how to pack and share your first ModelKit.
130-
131-
**Need Help?** If something isn't working [get help on our Discord channel](https://discord.gg/Tapeh8agYy).
87+
## 🐧 Linux KitOps Install
13288

133-
## 🐧 Linux Install
134-
135-
The simplest way to install Kit on Linux is with [Homebrew](https://brew.sh/). You can also install from [TAR](#linux-tar-install).
136-
137-
### Linux Brew Install
138-
139-
1. Open a Terminal window
140-
1. At the prompt type: `brew tap kitops-ml/kitops` (if that doesn't work use the [TAR instructions](#linux-tar-install)
141-
1. When the previous command completes, type `brew install kitops`
142-
143-
You can verify that `kit` is correctly installed by opening a new terminal or command prompt and typing:
144-
145-
```shell
89+
Install with Homebrew (recommended)
90+
```sh
91+
brew tap kitops-ml/kitops
92+
brew install kitops
14693
kit version
14794
```
14895

149-
This command should display the version number of the Kit CLI you have installed, indicating that the installation was successful.
96+
Or use TAR instead...
15097

151-
Now follow our [Quick Start](../../get-started/) to learn how to pack and share your first ModelKit.
152-
153-
**Need Help?** If something isn't working [get help on our Discord channel](https://discord.gg/Tapeh8agYy).
154-
155-
### Linux TAR Install
156-
157-
Make sure you get the correct download for your hardware.
158-
159-
1. Linux: <a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-linux-x86_64.tar.gz"
98+
1. Get the ZIP for your Mac chip type.
99+
- Linux:<a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-linux-x86_64.tar.gz"
160100
v-ga-track="{
161101
category: 'link',
162102
label: 'Linux (AMD64)',
163103
location: 'docs/installation'
164104
}">
165105
Intel / AMD, AMD 64-bit
166106
</a>
167-
168-
1. Linux: <a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-linux-arm64.tar.gz"
107+
- Linux:<a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-linux-arm64.tar.gz"
169108
v-ga-track="{
170109
category: 'link',
171110
label: 'Linux (ARM64)',
172111
location: 'docs/installation'
173112
}">
174113
ARM 64-bit
175114
</a>
176-
177-
1. Linux: <a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-linux-i386.tar.gz"
115+
- Linux:<a href="https://github.com/kitops-ml/kitops/releases/latest/download/kitops-linux-i386.tar.gz"
178116
v-ga-track="{
179117
category: 'link',
180118
label: 'Linux (x86_32)',
181119
location: 'docs/installation'
182120
}">
183121
Intel / AMD, 32-bit
184122
</a>
123+
2. In a terminal:
124+
```
125+
tar -xzvf kitops-linux-x86_64.tar.gz
126+
sudo mv kit /usr/local/bin/
127+
```
128+
3. [Verify your installation](#verify-the-installation)
185129

186-
The Kit download will happen _so quickly_ on a fast connection that you might miss it...
187-
188-
Open a terminal window in your downloads location and look for a file that starts with `kitops-linux`.
189-
190-
Use the `tar` command to extract the downloaded file. For example, if you downloaded the `kitops-linux-x86_64.tar.gz` file, you would use the following command:
191-
192-
```shell
193-
tar -xzvf kitops-linux-x86_64.tar.gz
194-
```
195-
196-
Move the extracted `kit` executable to a location in your system's PATH. A common choice is `/usr/local/bin`. You can do this with the `mv` command (this may require administrator privileges):
197-
198-
```
199-
sudo mv kit /usr/local/bin/
200-
```
201-
202-
After installation, you can verify that `kit` is correctly installed by opening a new terminal or command prompt and typing:
130+
## Verify the KitOps Installation
203131

132+
After install, open a new terminal and run:
204133
```shell
205134
kit version
206135
```
207136

208-
This command should display the version number of the Kit CLI you have installed, indicating that the installation was successful.
137+
If Kit is installed correctly, you'll see a kit version printed.
209138

210-
Now follow our [Quick Start](../../get-started/) to learn how to pack and share your first ModelKit.
139+
## Next Step: Use KitOps
211140

212-
**Need Help?** If something isn't working [get help on our Discord channel](https://discord.gg/Tapeh8agYy).
141+
You’re ready to go. Head to our Quick Start guide to:
142+
- Create your first Kitfile
143+
- Pack a model
144+
- Push to a registry
213145

214-
## 🛠️ Build from Source Code
146+
➡️ [Get Started tutorial](../../get-started.md)
215147

216-
For those who prefer or require building `kit` from the source code, this section will guide you through the necessary steps.
217-
218-
Before you begin, make sure you have the following installed on your system:
148+
## Build KitOps from Source
219149

150+
If you'd rather build from source you'll need:
220151
- Git
221-
- A recent version of Go
222-
223-
You can check if you have Go installed by running `go version` in your terminal. If you need to install Go, visit the [official Go download page](https://golang.org/dl/) for instructions.
224-
225-
### Clone the Repository
152+
- Go
226153

227-
First, clone the `kitops` GitHub repository to your local machine. Open a terminal and run:
154+
You can check if you have Go installed by running go version in your terminal. If you need to install Go, visit the official Go download page for instructions.
228155

156+
Steps:
229157

230-
```shell
158+
### 1. Clone and build the project
159+
```sh
231160
git clone https://github.com/kitops-ml/kitops.git
232161
cd kitops
233-
```
234-
235-
This command clones the repository and changes your current directory to the cloned repository's root.
236-
237-
### Build Sources
238-
239-
Once inside the `kitops` directory, you can build the `kit` tool using the Go compiler. Run:
240-
241-
```shell
242162
go build -o kit
243163
```
164+
This command compiles the source code into an executable named `kit`. If you are on Windows, consider renaming the executable to `kit.exe`.
244165

245-
This command compiles the source code into an executable named `kit`. If you are on Windows, you might want to name the executable `kit.exe`.
246-
247-
### Install the Executable
166+
### 2. Move the binary:
167+
- macOS/Linux: `sudo mv kit /usr/local/bin/`
168+
- Windows: move kit.exe to a folder in your PATH
248169

249-
After the build process completes, you need to move the `kit` executable to a location in your system's PATH to make it accessible from anywhere in the terminal:
170+
### 3. Verify the installation
171+
Open a new terminal and run: `kit version`
250172

251-
#### For MacOS and Linux:
252-
253-
```shell
254-
sudo mv kit /usr/local/bin/
255-
```
256-
257-
#### For Windows:
258-
259-
Move `kit.exe` to a directory that's included in your system's PATH variable. This step may vary based on your specific Windows setup.
260-
261-
### Verify the Installation
262-
263-
To verify that `kit` was installed successfully, open a new terminal window and type:
264-
265-
```shell
266-
kit version
267-
```
268-
269-
## Optional: Set Your Environment
173+
You should see your kit version number printed in the terminal.
270174

175+
### 4. Optional environment settings
271176
You can configure which directory credentials and storage are located:
177+
272178
* `--config` flag for a specific kit CLI execution
273179
* `KITOPS_HOME` environment variable for permanent configurations
274-
275180
If the `KITOPS_HOME` is set in various places the order of precedence is:
276-
1. `--config` flag, if specified
277-
1. `$KITOPS_HOME` environment variable, if set
278-
1. A default OS-dependent value:
279-
280-
Linux: `$XDG_DATA_HOME/kitops`, falling back to `~/.local/share/kitops`
281-
282-
Windows: `%LOCALAPPDATA%\kitops`
181+
1. `--config` flag, if specified
182+
2. `$KITOPS_HOME` environment variable, if set
183+
3. A default OS-dependent value:
184+
- Linux: `$XDG_DATA_HOME/kitops`, falling back to `~/.local/share/kitops`
185+
- Windows: `%LOCALAPPDATA%\kitops`
186+
- MacOS: `~/Library/Caches/kitops`
283187

284-
Darwin: `~/Library/Caches/kitops`
285-
286-
287-
## Follow the Quick Start
288-
289-
Now that everything is set up you can follow our [Quick Start](../../get-started/) to learn how to pack and share your first ModelKit.
290-
291-
## Become a Design Partner
188+
---
292189

293-
Interested in helping to shape the future of our project? Email <a href="mailto:[email protected]" target="blank">[email protected]</a> to learn more about our Design Partner program.
190+
**Have feedback or questions?**
191+
Open an [issue on GitHub](https://github.com/kitops-ml/kitops/issues) or [join us on Discord](https://discord.gg/Tapeh8agYy).

0 commit comments

Comments
 (0)