Closed
Description
The documentation for install.sh suggests passing the --dry-run
option to see what commands will be run. But if you do this, the output makes it look as though the package was actually installed:
coder@feature-bash:~$ curl -L https://coder.com/install.sh | sh -s -- --dry-run
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 13259 100 13259 0 0 49473 0 --:--:-- --:--:-- --:--:-- 49473
Ubuntu 20.04.4 LTS
Installing v0.6.6 of the amd64 deb package from GitHub.
+ mkdir -p ~/.cache/coder
+ curl -#fL -o ~/.cache/coder/coder_0.6.6_amd64.deb.incomplete -C - https://github.com/coder/coder/releases/download/v0.6.6/coder_0.6.6_linux_amd64.deb
+ mv ~/.cache/coder/coder_0.6.6_amd64.deb.incomplete ~/.cache/coder/coder_0.6.6_amd64.deb
+ sudo dpkg -i ~/.cache/coder/coder_0.6.6_amd64.deb
deb package has been installed.
To run Coder as a system service:
# Configure the PostgreSQL database for Coder
sudo vim /etc/coder.d/coder.env
# Have systemd start Coder now and restart on boot
sudo systemctl enable --now coder
Or, run a temporary deployment (all data is in-memory
and destroyed on exit):
coder server --dev
We should make it clearer that these are the commands that would have been run, and that no changes were actually made.