|
| 1 | +--- |
| 2 | +output-file: dolt-install.html |
| 3 | +--- |
| 4 | + |
| 5 | +# Installing Dolt {#sec-install-dolt} |
| 6 | + |
| 7 | +Dolt is extremely simple to install. Dolt is a single ~100 megabyte program. To install it, you download or compile that program and put it on your PATH. To install in specific operating systems, follow the instructions below: |
| 8 | + |
| 9 | +::: {.panel-tabset} |
| 10 | + |
| 11 | +## Windows {#sec-install-dolt-windows} |
| 12 | + |
| 13 | +### winget {#sec-install-dolt-windows-winget .unnumbered} |
| 14 | + |
| 15 | +```bash |
| 16 | +winget install dolt |
| 17 | +``` |
| 18 | + |
| 19 | +<br/> |
| 20 | + |
| 21 | +### Chocolatey {#sec-install-dolt-windows-chocolatey .unnumbered} |
| 22 | + |
| 23 | +```bash |
| 24 | +choco install dolt |
| 25 | +``` |
| 26 | + |
| 27 | +Both `.msi` files and `.zip` files are available. |
| 28 | + |
| 29 | +<br/> |
| 30 | + |
| 31 | +### Scoop {#sec-install-dolt-windows-scoop .unnumbered} |
| 32 | + |
| 33 | +```bash |
| 34 | +scoop install dolt |
| 35 | +``` |
| 36 | + |
| 37 | +<br/> |
| 38 | + |
| 39 | +### MSI Files {#sec-install-dolt-windows-msi .unnumbered} |
| 40 | + |
| 41 | +The easiest way to install Dolt on Windows is to use the MSI files that are provided with each release. They can be found in the Assets section of every release. Grab the latest [here](https://github.com/dolthub/dolt/releases/latest). |
| 42 | + |
| 43 | +<br/> |
| 44 | + |
| 45 | +### `.zip` Archive {#sec-install-dolt-windows-zip .unnumbered} |
| 46 | + |
| 47 | +For those preferring to install Dolt manually a zipped archive is provided with the requisite executables. It can be found in assets along with the [latest release](https://github.com/dolthub/dolt/releases/latest). |
| 48 | + |
| 49 | +## macOS {#sec-install-dolt-mac} |
| 50 | + |
| 51 | +### Install Script {#sec-install-dolt-macos-install-script .unnumbered} |
| 52 | + |
| 53 | +The download script for Linux can be used, as OSX is a `*nix` system. It will download the appropriate binary, and place it in `/usr/local/bin`: |
| 54 | + |
| 55 | +```bash |
| 56 | +sudo bash -c 'curl -L https://github.com/dolthub/dolt/releases/latest/download/install.sh | bash' |
| 57 | +``` |
| 58 | + |
| 59 | +<br/> |
| 60 | + |
| 61 | +### Homebrew {#sec-install-dolt-macos-homebrew .unnumbered} |
| 62 | + |
| 63 | +A Homebrew formula is available with with every release, so Mac users using Homebrew for package management can build Dolt from source with a single command: |
| 64 | + |
| 65 | +```bash |
| 66 | +$ brew install dolt |
| 67 | +==> Downloading https://homebrew.bintray.com/bottles/dolt-0.18.3.catalina.bottle.tar.gz |
| 68 | +==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/c03cc532d5045fa090cb4e0f141883685de3765bf1d221e400c750b3ae89e328?response-content-disposition=attachment%3Bfilename%3D%22dolt-0.18.3.catalina.bottle.tar.gz%22&Policy=eyJTdGF0 |
| 69 | +######################################################################## 100.0% |
| 70 | +==> Pouring dolt-0.18.3.catalina.bottle.tar.gz |
| 71 | +🍺 /usr/local/Cellar/dolt/0.18.3: 7 files, 56.9MB |
| 72 | +``` |
| 73 | + |
| 74 | +Which will install Dolt as follows: |
| 75 | + |
| 76 | +```bash |
| 77 | +$ ls -ltr $(which dolt) |
| 78 | +lrwxr-xr-x 1 oscarbatori admin 30 Aug 26 16:49 /usr/local/bin/dolt -> ../Cellar/dolt/0.18.3/bin/dolt |
| 79 | +``` |
| 80 | + |
| 81 | +<br/> |
| 82 | + |
| 83 | +### MacPorts {#sec-install-dolt-macos-macport .unnumbered} |
| 84 | + |
| 85 | +On macOS, Dolt can also be installed via a [community-managed port](https://ports.macports.org/port/dolt/) via [MacPorts](https://www.macports.org/): |
| 86 | + |
| 87 | +```bash |
| 88 | +sudo port install dolt |
| 89 | +``` |
| 90 | + |
| 91 | +## Linux {#sec-install-dolt-linux} |
| 92 | + |
| 93 | +For Linux users, an installation script is available that will detect your architecture, download the appropriate binary, and place in `/usr/local/bin`: |
| 94 | + |
| 95 | +```bash |
| 96 | +sudo bash -c 'curl -L https://github.com/dolthub/dolt/releases/latest/download/install.sh | sudo bash' |
| 97 | +``` |
| 98 | + |
| 99 | +The use of `sudo` is required to ensure the binary lands in your path. |
| 100 | + |
| 101 | +::: |
0 commit comments