Coder powers secure, scalable development across key industries — automotive, finance, government, and technology — enabling faster builds, tighter compliance, and seamless AI adoption in enterprise-grade cloud environments.
Coder offers the coder dotfiles <repo> command which simplifies workspace
personalization. Our behavior is consistent with Codespaces, so
their documentation
explains how it loads your repo.
You can read more on dotfiles best practices here.
Module
Coder's dotfiles module abstracts
Coder's dotfiles command into a module. This will prompt the user for their
dotfiles repository URL on workspace creation using a coder_parameter.
The user can even fill personalize with coder dotfiles <repo>, but those
looking for a simpler approach can inline commands like so:
#!/bin/bash
sudo apt update
# Install some of my favorite tools every time my workspace boots
sudo apt install -y neovim fish cargo
Setup script support
User can setup their dotfiles by creating one of the following script files in
their dotfiles repo:
install.sh
install
bootstrap.sh
bootstrap
script/bootstrap
setup.sh
setup
script/setup
If any of the above files are found (in the specified order), Coder will try to
execute the first match. After the first match is found, other files will be
ignored.
The setup script must be executable, otherwise the dotfiles setup will fail. If
you encounter this issue, you can fix it by making the script executable using
the following commands: