You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
.. | ||
scripts | 1 year ago | |
wsltty | 3 years ago | |
README.md | 1 year ago | |
install.cmd | 1 year ago |
README.md
WSL
Setup
Use install.cmd
to set up a new WSL installation. Run without arguments for details.
Scripts
wsl-apt
- runapt update
/upgrade
/install
/remove
/autoremove
/autoclean
- any package names given as arguments are treated as packages to
install
, except any prefixed with a-
are treated as packages toremove
- any package names given as arguments are treated as packages to
wsl-clipboard-ssh-add
- add private key on Windows clipboard to SSH authentication agentwsl-expose-ports
- expose one or more ports within WSL to the outside world- this sets up a port proxy and a Windows firewall rule for each exposed port, and removes previous port proxies and firewall rules
- multiple ports can be specified, each with an optional external port:
1234
exposes port 1234 as 1234,1234:5678
exposes port 5678 as 1234 - call without arguments to remove port proxies and firewall rules without creating new ones
wsl-fix-clock
- sync the WSL clock with the Windows clockwsl-fix-interop
- fixWSL_INTEROP
variable when it becomes incorrectly setwsl-mount
- mount or unmount a removable drive or network share in WSL- call with
wsl-mount A: ./directory
to mount drive at directory - call with
wsl-mount '\\computer\share' ./directory
to mount network share at directory - call with
wsl-mount ./directory
to unmount
- call with
wsl-sudo
- run a given command as root using wsl.exewsl-takeown
-chown
the current directory and all contents to the current user
WSLtty configuration
wsltty
contains configuration for the WSLtty terminal emulator.
Font
This configuration uses Fira Code, which must be manually installed.