https://github.com/qwreey/vscode-install.sh
Fastest way to install Microsoft offical Visual Studio Code in linux
https://github.com/qwreey/vscode-install.sh
Last synced: about 1 year ago
JSON representation
Fastest way to install Microsoft offical Visual Studio Code in linux
- Host: GitHub
- URL: https://github.com/qwreey/vscode-install.sh
- Owner: qwreey
- Created: 2023-04-21T17:22:25.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-06T00:02:10.000Z (about 3 years ago)
- Last Synced: 2025-01-30T00:32:06.325Z (over 1 year ago)
- Language: Shell
- Size: 123 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vscodeInstaller.sh

Fastest, easiest way to install Microsoft offical Visual Studio Code build in linux.
What is included?
+ Auto find package frontend (dpkg, rpm or tar.gz)
+ Auto mechine arch recognize (by uname)
+ Checking installed version and origin version, if same, just exit
+ When have no package frontend, create .desktop file, code command automatically
# Uses
```
$ ./vscodeInstaller.sh --help
-f | --frontend
Set frontend for install vscode. Defualt is auto
-a | --arch
Target arch, Default is auto (recommended)
-u | --user
Do not check root permission
-h | --help
Show this message
--uninstall
Uninstall vscode
-c | --chown
Change owner of /usr/share/code folder to qwreey
This option may useful if you use vscode patch extension
Give \$USER to current user
-k | --keep
Keep .dev .tar.gz .rpm file in cwd
```
## Download script with curl
```
# Download script
curl https://raw.githubusercontent.com/qwreey75/vscodeInstall.sh/master/vscodeInstall.sh -s -o vscodeInstall.sh; chmod a+x vscodeInstall.sh
# Run script
sudo ./vscodeInstall.sh
```
## One line
```
curl https://raw.githubusercontent.com/qwreey75/vscodeInstall.sh/master/vscodeInstall.sh -s | sudo bash
```
## TODO
AUR, buildpkg frontend