Skip to content

Instantly share code, notes, and snippets.

@howard-haowen
Last active November 7, 2022 04:10
Show Gist options
  • Save howard-haowen/5b826cebf1266d563c53cb59a8e27654 to your computer and use it in GitHub Desktop.
Save howard-haowen/5b826cebf1266d563c53cb59a8e27654 to your computer and use it in GitHub Desktop.
Docker run for AstroNvim
docker run -w /root -it --rm alpine:edge sh -uelic '
apk add git nodejs npm lazygit ncdu htop python3 neovim ripgrep alpine-sdk --update
git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
# Uncomment the line below and replace the link with your user config repo to load a user config
# git clone https://github.com/username/AstroNvim_user ~/.config/nvim/lua/user
nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync"
nvim
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment