Installation¶
Quickstart¶
curl --proto '=https' --tlsv1.2 -LsSf https://get.dist.sh | sh
iwr https://get.dist.sh/install.ps1 -useb | iex
Note: Yes, I know, you really shouldn't download and run scripts from the internet, but at least it's not using sudo!
Manual Installation¶
Unix-like Systems¶
MacOS, Linux, FreeBSD and other Unix-like systems can use the following steps to install distillery.
- Set your path
export PATH=$HOME/.distillery/bin:$PATH - Download the latest release from the releases page
- Extract and Run
./dist install ekristen/distillery - Delete
./distand the .tar.gz, now usedistnormally - Run
dist install owner/repoto install a binary from GitHub Repository
Windows¶
- Set Your Path
- Download the latest release from the releases page
- Extract and Run
.\dist.exe install ekristen/distillery - Delete
.\dist.exeand the .zip, now usedistnormally - Run
dist install owner/repoto install a binary from GitHub Repository
Set Your Path¶
For Current Session¶
$env:Path = "C:\Users\<username>\.distillery\bin;" + $env:Path
For Current User¶
[Environment]::SetEnvironmentVariable("Path", "C:\Users\<username>\.distillery\bin;" + $env:Path, [EnvironmentVariableTarget]::User)
Uninstall¶
By default, everything with distillery is installed in the ~/.distillery directory so cleanup is easy.
- Run
dist info - Remove the directories listed under the cleanup section