Skip to main content
  1. Posts/

Straight.el Bootstrap and Package Install Issue

··130 words·1 min·
Table of Contents
update log
  • 2022-02-08: update fastgit URL

I am using straight.el to manage my Emacs packages. However, due to GitHub access issues, the bootstrap snippet can not be downloaded successfully and run. After staring Emacs, it hangs forever with high CPU usage.

Here is what is working for me. After following these steps, I can install packages without issue.

  1. Go to ~/.emacs.d, the directory varies based on your system1.

  2. Clone the straight.el repo:

    git clone https://github.com/raxod502/straight.el.git  straight/repos/straight.el
    
  3. Change the git default url using the following command as per guide here.

    git config --global url."https://hub.fastgit.xyz/".insteadOf "https://github.com/"
    git config protocol.https.allow always
    
  4. Remove the straight.el bootstrap snippet from init.el.

Restart Emacs and just wait. All my packages are installed and built successfully.

References
#


  1. Check here for the actual path. ↩︎

Related

Setting up Yasnippet for Emacs
·458 words·3 mins
Customize Tabline in Emacs
··244 words·2 mins
Learning Emacs as A Nvimmer in One Day
··1413 words·7 mins