# Windows for Linux Users Part 3: Enable symlinks

- Link: https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/
- Published: 2021-04-06T21:03:46-07:00
- Author: rich

OK, this is the hopefully final post, it turns out that I also use symlinks extensively
and this is not enabled by default with Windows so a simple `ln -s myfile otherfile`
fails, to make this work you have to do three things:

 1. You have to enable [developer mode](https://windowsloop.com/enable-developer-mode-windows-10/)
    in Windows, this is in Settings/Update and Security/For developers. The text is
    really unhelpful, it tells you that it let’s you install from any source, but what
    it does it enable administrative mode. When you toggle the button, Windows 10 goes
    crazy downloading packages.
 2. You can then restart your machine (because with Windows you always do)
 3. Then for your Git Bash sessions, [you need to ad](https://stackoverflow.com/questions/58857724/how-can-i-make-symlinks-made-from-inside-docker-linux-containers-to-be-seen-from/63325536#63325536)
    d `export MSYS=winsymlinks:nativestrict”

At this point, you should be able to symlink without have to run in Administrator
mode all the time. As an aside, there is supposed to be a command `runas /savecred/
user:admin _any command_` which is like sudo, but I could not get this work at all.

### Share this:

 * [  Mastodon ](https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/?subject=%5BShared%20Post%5D%20Windows%20for%20Linux%20Users%20Part%203%3A%20Enable%20symlinks&body=https%3A%2F%2Ftongfamily.com%2F2021%2F04%2F06%2Fwindows-for-linux-users-part-3-enable-symlinks%2F&share=email)
 * [More](https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/#)

 * [  Telegram ](https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/?share=telegram)
 * [  Print ](https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/?share=tumblr)
 * [  X ](https://tongfamily.com/2021/04/06/windows-for-linux-users-part-3-enable-symlinks/?share=twitter)

### Like this:

Like Loading…
