Skip to content

Commit

Permalink
chore: v0.19.0 version updates
Browse files Browse the repository at this point in the history
Signed-off-by: Toma Puljak <[email protected]>
  • Loading branch information
Tpuljak committed Jun 14, 2024
1 parent f861f61 commit a082e2b
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 59 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "docs",
"license": "Apache-2.0",
"type": "module",
"version": "0.18.0",
"version": "0.19.0",
"scripts": {
"dev": "astro dev --host",
"start": "yarn run dev",
Expand Down
68 changes: 35 additions & 33 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,45 +1,47 @@
---
import { Image } from 'astro:assets';
import { Image } from 'astro:assets'
import textArrowIcon from '@assets/icons/text-arrow.svg?raw'
import Default from '@astrojs/starlight/components/Footer.astro';
import ThemeSelect from "./ThemeSelect.astro";
import Default from '@astrojs/starlight/components/Footer.astro'
import ThemeSelect from './ThemeSelect.astro'
---

<Default {...Astro.props}>
<slot />
<slot />
</Default>
<footer class="docs-footer__container">
<div class="docs-footer__container__support-links">
<p>
<Fragment set:html={textArrowIcon} />Need help? - <a
href="#">Reach support</a>
</p>
<p>
<Fragment set:html={textArrowIcon} />Latest project
updates? - <a href="https://github.com/daytonaio/daytona/releases/tag/v0.16.0">View Changelog</a>
</p>
<p>
<Fragment set:html={textArrowIcon} />Dotfiles Insider
- <a href="https://www.daytona.io/dotfiles/">Read our blog</a>
</p>
</div>
<div class="docs-footer__container__support-links">
<p>
<Fragment set:html={textArrowIcon} />Need help? - <a href="#"
>Reach support</a
>
</p>
<p>
<Fragment set:html={textArrowIcon} />Latest project updates? - <a
href="https://github.com/daytonaio/daytona/releases/tag/v0.19.0"
>View Changelog</a
>
</p>
<p>
<Fragment set:html={textArrowIcon} />Dotfiles Insider - <a
href="https://www.daytona.io/dotfiles/">Read our blog</a
>
</p>
</div>

<div class="docs-footer__container__bottom">
<div class="docs-footer__container__bottom-block">
<div><p{new Date().getFullYear()} Daytona Platforms, Inc.</p></div>
<div class="divider"></div>
</div>

<ThemeSelect />
<div class="docs-footer__container__bottom">
<div class="docs-footer__container__bottom-block">
<div><p{new Date().getFullYear()} Daytona Platforms, Inc.</p></div>
<div class="divider"></div>
</div>

<div class="menu-list">
<a href="https://www.daytona.io/company/privacy-policys">Privacy policy</a
>
<a href="https://www.daytona.io/company/terms-of-service"
>Terms of Service</a
>
</div>
<ThemeSelect />

<div class="menu-list">
<a href="https://www.daytona.io/company/privacy-policys">Privacy policy</a
>
<a href="https://www.daytona.io/company/terms-of-service"
>Terms of Service</a
>
</div>
</div>
</footer>
69 changes: 44 additions & 25 deletions src/content/docs/installation/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ description: Learn how to install Daytona on Linux, macOS, and Windows.
sidebar:
label: Installation
---

import Aside from '@components/Aside.astro'

You can install Daytona on Linux, macOS, and Windows systems on both x86-64 and AArch64 architectures.
The recommended installation method leverages a shell script to automate setup.
Alternatively, you can install Daytona through a third-party package manager.

## Recommended Installation Method

The recommended way to install Daytona is by executing the official installation script.
This script will download the appropriate binary for your machine and ensure it's executable.

### Linux and macOS
__Prerequisites__
* A POSIX-compatible shell such as bash or zsh.

__Procedure__
**Prerequisites**

- A POSIX-compatible shell such as bash or zsh.

**Procedure**

1. Run the following command in your shell:
```shell
Expand All @@ -31,21 +35,25 @@ You can install Daytona by manually downloading the binary and placing it in you

```shell
# for Linux (x86-64)
curl -sf -L https://download.daytona.io/daytona/v0.16.0/daytona-linux-amd64 -o daytona
curl -sf -L https://download.daytona.io/daytona/v0.19.0/daytona-linux-amd64 -o daytona
# for Linux (AArch64)
curl -sf -L https://download.daytona.io/daytona/v0.16.0/daytona-linux-arm64 -o daytona
curl -sf -L https://download.daytona.io/daytona/v0.19.0/daytona-linux-arm64 -o daytona
# for macOS (x86-64/Intel-based)
curl -sf -L https://download.daytona.io/daytona/v0.16.0/daytona-darwin-amd64 -o daytona
curl -sf -L https://download.daytona.io/daytona/v0.19.0/daytona-darwin-amd64 -o daytona
# for macOS (AArch64/Apple Silicon)
curl -sf -L https://download.daytona.io/daytona/v0.16.0/daytona-darwin-arm64 -o daytona
curl -sf -L https://download.daytona.io/daytona/v0.19.0/daytona-darwin-arm64 -o daytona
```

</Aside>

### Windows
__Prerequisites__
* A functional PowerShell installation.

__Procedure__
**Prerequisites**

- A functional PowerShell installation.

**Procedure**

1. Run the following command in PowerShell:
```powershell
$architecture = if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") { "amd64" } else { "arm64" }
Expand All @@ -60,52 +68,63 @@ You can install Daytona by manually downloading the binary and placing it in you

```powershell
# x86-64
curl -sf -L https://download.daytona.io/daytona/v0.16.0/daytona-windows-amd64.exe -o daytona
curl -sf -L https://download.daytona.io/daytona/v0.19.0/daytona-windows-amd64.exe -o daytona
# AArch64
curl -sf -L https://download.daytona.io/daytona/v0.16.0/daytona-windows-arm64.exe -o daytona
curl -sf -L https://download.daytona.io/daytona/v0.19.0/daytona-windows-arm64.exe -o daytona
```

</Aside>

## Package Managers

Daytona is available for a number of package managers across Linux and macOS.

<Aside type="note">
Packages listed below aren't officially supported by Daytona developers.
They may not be updated to the latest released version of Daytona.
The recommended method is to [install Daytona using the upstream installation script](#recommended-installation-method).
Packages listed below aren't officially supported by Daytona developers. They
may not be updated to the latest released version of Daytona. The recommended
method is to [install Daytona using the upstream installation
script](#recommended-installation-method).
</Aside>

### Homebrew

Homebrew can be used to install Daytona on macOS and Linux.

__Prerequisites__
* A machine running macOS or Linux.
* A working installation of Homebrew.
**Prerequisites**

- A machine running macOS or Linux.
- A working installation of Homebrew.

**Procedure**

__Procedure__
1. Execute the following command to install Daytona:
```shell
brew install daytonaio/daytona/daytona
```

### Nix

Daytona is available on nixpkgs unstable as [`daytona-bin`](https://search.nixos.org/packages?channel=unstable&show=daytona-bin).

#### Ephemeral Usage

You can use `nix-shell` to try Daytona before permanently installing it on your system.

__Prerequisites__
* A working installation of Nix or NixOS.
**Prerequisites**

- A working installation of Nix or NixOS.

**Procedure**

__Procedure__
1. Execute the following command to spawn a shell with the Daytona binary:
```shell
nix-shell -p daytona-bin
```

#### Install Globally

To permanently install Daytona on your system, you can add it to the relevant global configuration:

* On NixOS systems, add `daytona-bin` as a system package in `/etc/nixos/configuration.nix`.
* On other Linux systems, add `daytona-bin` as a local package using [home-manager](https://github.com/nix-community/home-manager).
* On macOS systems, add `daytona-bin` as a system package using [nix-darwin](https://github.com/LnL7/nix-darwin).
- On NixOS systems, add `daytona-bin` as a system package in `/etc/nixos/configuration.nix`.
- On other Linux systems, add `daytona-bin` as a local package using [home-manager](https://github.com/nix-community/home-manager).
- On macOS systems, add `daytona-bin` as a system package using [nix-darwin](https://github.com/LnL7/nix-darwin).

0 comments on commit a082e2b

Please sign in to comment.