You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
This is what the output looks like now, on Ubuntu:
Ubuntu 20.04.4 LTS
Running with --dry-run; the following are the commands that would be run if this were a real installation:
Installing v0.7.6 of the amd64 deb package from GitHub.
+ mkdir -p ~/.cache/coder
+ curl -#fL -o ~/.cache/coder/coder_0.7.6_amd64.deb.incomplete -C - https://github.com/coder/coder/releases/download/v0.7.6/coder_0.7.6_linux_amd64.deb
+ mv ~/.cache/coder/coder_0.7.6_amd64.deb.incomplete ~/.cache/coder/coder_0.7.6_amd64.deb
+ sudo dpkg --force-confdef --force-confold -i ~/.cache/coder/coder_0.7.6_amd64.deb
Dry-run complete.
To install Coder, re-run this script without the --dry-run flag.
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:We should make it clearer that these are the commands that would have been run, and that no changes were actually made.
The text was updated successfully, but these errors were encountered: