https://github.com/imhta/winsub_cli
command line utilities for windows subsystem, and you can use it for installing ubuntu wsl in windows
https://github.com/imhta/winsub_cli
cli gem tool wsl-ubuntu
Last synced: over 1 year ago
JSON representation
command line utilities for windows subsystem, and you can use it for installing ubuntu wsl in windows
- Host: GitHub
- URL: https://github.com/imhta/winsub_cli
- Owner: imhta
- License: mit
- Created: 2019-08-19T09:18:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-24T14:05:59.000Z (almost 7 years ago)
- Last Synced: 2025-01-20T17:18:17.985Z (over 1 year ago)
- Topics: cli, gem, tool, wsl-ubuntu
- Language: Ruby
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: History.rdoc
- License: LICENSE
Awesome Lists containing this project
README
# winsub_cli
It is a Command line tool to manage Ubuntu Windows subsystem. It aims to provide some utility functions to improve developers productivity. Using this cli we can use wsl seamlessly.
## Installation
#### Requirement
- Ruby 2.3 =<
- WSL enabled
1. Open PowerShell as Administrator and run:
```
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
```
2. Restart your computer when prompted.
3. Then, Just use this command to install
```
gem install winsub_cli
```
## Usage
### > install_
This command used install ubuntu wsl in windows
```
install_ ubuntu
```
It use choco package manager to install ubuntu, so first it will install choco first then it will install ubuntu.
### > bash_
This command run any bash command from windows to wsl. It is same as using wsl command.
```
bash_ sudo apt update
```
### > nano_
```
nano_
```
Using this command you can open nano editor in current directory
### > vi_
```
vi_
```
Using this command you can open vim editor in current directory
## Contribution
:heart: Feel free to make PR