Coder currently supports local preview only on workstations running macOS or Linux.
Before proceeding, please make sure that you have the following installed:
The local preview supports CVMs if you meet the following requirements (if you choose not to try out CVMs, these requirements do not apply):
Your Linux hosts must be running Linux Kernel 5 and above.
You must have the
linux-headers package corresponding to your Kernel
version installed. You should see the following folders all corresponding to
your Kernel version:
uname -r 5.11.4-arch1-1 ls /usr/lib/modules 5.11.4-arch1-1 ls /usr/src/ linux linux-headers-5.11.4-arch1-1
We are working on bringing Dev URL support to local previews in later releases.
To install Coder, run:
curl -fsSL https://coder.com/try.sh | PORT="8080" sh -s --
Note: you can edit the value of
PORTto control where the Coder dashboard will be available.
When the installation process completes, you'll see the URL and login credentials you need to access Coder:
You can now access Coder at http://localhost:8080 You can tear down the deployment with curl -fsSL https://coder.com/try.sh | sh -s -- down Platform credentials User: admin Password: yfu...yu2
Visit the URL, and log in using the provided credentials. The platform is automatically configured for you, so there's no first-time setup to do.
To remove the local Coder deployment, run:
curl -fsSL https://coder.com/try.sh | sh -s -- down
Because Coder runs inside Docker, you should have nothing left on your machine after tear down.