Environment Setup
Environment Setup ๊ด๋ จ
A. ๊ธฐ๋ณธ์ค์
A1. regedit
์ค์
์๋์ฐ ์์ ํ์์ค ๊ฒ์์ฐฝ์ด๋ +R(์คํ) ์ด์ด์
cmd
๋ฅผ ctrl+shift+enter ๋๋ฌ ์คํํฉ๋๋ค.
Prerequesite(s)
First, ensure that you open prompt in ADMINISTRATIVE mode
:: '์ด ์ฑ ๋๋ฌธ์ ์ข
๋ฃํ ์ ์์ต๋๋ค' ๋นํ์ฑํ
REG add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "AutoEndTasks" /d "1" /f
:: IE์์ ๊ฐ๋ฐ์ ๋๊ตฌ ๋ฉ๋ด๊ฐ ํ์ฑํ
REG add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\IEDevTools" /v "Disabled" /d "0" /f
:: SmartScreen ๋นํ์ฑํ
REG add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /d "0"
:: Telemetry ๋นํ์ฑํ
REG add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /d "0"
:: cmd์ ์ฌ์ฉํ ํฐํธ๋ฅผ ์ถ๊ฐ
REG add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont" /v "000" /d "JetBrainsMono Nerd Font Mono" /f
:: ๋๋ฒ๋ฝ ์ผ๊ธฐ
:: REG add "HKEY_USERS\.DEFAULT\Control Panel\Keyboard" /v "InitialKeyboardIndicators" /d "2147483650" /f
::
REG add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters" /v "BasicAuthLevel" /d "2" /f
::
REG add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters" /v "FileSizeLimitInBytes" /d "ffffffff" /f
A2. gedit.msc
์ค์
์๋์ฐ ์์ ํ์์ค ๊ฒ์์ฐฝ์ด๋ ์คํ (+R) ์ด์ด์
gpedit.msc
๋ฅผ ์คํํฉ๋๋ค.
- .
[์ปดํจํฐ ๊ตฌ์ฑ]
->[๊ด๋ฆฌ ํ ํ๋ฆฟ]
->[์๋ ๊ตฌ์ฑ์์]
->[๋ฐ์ดํฐ ์์ง ๋ฐ preview ๋น๋]
->[์๊ฒฉ ๋ถ์ ํ์ฉ ํด๋ฆญ]
->[์ฌ์ฉ ์ํจ]
์ค์
A3. services.msc
์ค์
์๋์ฐ ์์ ํ์์ค ๊ฒ์์ฐฝ์ด๋ ์คํ (+R) ์ด์ด์
services.msc
๋ฅผ ctrl+shift+enter ๋๋ฌ ์คํํฉ๋๋ค.
- .
[Connected User Experiences and Telemetry]
์์์ ํ ์ฌ์ฉ์ํจ
B. Winget
์๋์ฐ ์์ ํ์์ค ๊ฒ์์ฐฝ์ด๋ ์คํ (+R) ์ด์ด์
powershell
๋ฅผ ctrl+shift+enter ๋๋ฌ ์คํํฉ๋๋ค.
Prerequesite(s)
First, ensure that you open prompt in ADMINISTRATIVE mode
B1. Configure
Copy and Paste the following to the Powershell Prompt
winget install -e --id TableClothProject.TableCloth;
get-appxpackage *feedback* | remove-appxpackage;
winget install -e --id TableClothProject.TableCloth
C. Chocolatey
์๋์ฐ ์์ ํ์์ค ๊ฒ์์ฐฝ์ด๋ ์คํ (+R) ์ด์ด์
powershell
๋ฅผ ctrl+shift+enter ๋๋ฌ ์คํํฉ๋๋ค.
Prerequesite(s)
First, ensure that you open prompt in ADMINISTRATIVE mode
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
C1. Configure
Copy and Paste the following to the Powershell Prompt
choco install -y everything everythingtoolbar exiftool notion openssl powertoys qdir `
sharex speccy sublimemerge sublimetext4 vlc vscode flameshot `
dbeaver googlechrome fiddler windirstat 7zip `
procexp scrcpy fnm rancher-desktop temurin11 temurin11 `
intellijidea revo-uninstaller glogg autoruns microsoft-windows-terminal `
twinkle-tray wingetui wiztree rust
choco install -y everything everythingtoolbar exiftool notion openssl powertoys qdir ^
sharex speccy sublimemerge sublimetext4 vlc vscode flameshot^
dbeaver googlechrome fiddler windirstat 7zip ^
procexp scrcpy fnm rancher-desktop temurin11 temurin11 ^
intellijidea revo-uninstaller glogg autoruns microsoft-windows-terminal ^
twinkle-tray wingetui wiztree rust
D. Scoop.sh
์๋์ฐ ์์ ํ์์ค ๊ฒ์์ฐฝ์ด๋ ์คํ (+R) ์ด์ด์
powershell
๋ฅผ ctrl+shift+enter ๋๋ฌ ์คํํฉ๋๋ค.
Prerequesite(s)
First, ensure that you open prompt in ADMINISTRATIVE mode
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh | iex
D1. Configure
Copy and Paste the following to the Powershell Prompt
scoop install 7zip cheat hyperfine fastfetch nu`
oh-my-posh terminal-icons tokei watchman git
scoop install 7zip cheat hyperfine fastfetch nu^
oh-my-posh terminal-icons tokei watchman git
E. Alias ์ง์ ๊ด๋ จ
E1. Prerequesite(s)
alias.cmd
ํ์ผ์ ๋ง๋ค์ด ๊ด๋ จ Alias ์ง์
NOTE
chanhi2000/chan-alias
์ฐธ์กฐ
E2. Guide
- + r ๋๋ฅธ ํ
regedit
์คํ HKEY_CURRENT_USER\Software\Microsoft\Command Processor
๊ฒฝ๋ก๋ก ์ด๋- ์ฐฝ์ ๋ง์ฐ์ค ์ฐํด๋ฆญ ํ, ๋ฉ๋ด์์
์๋ก๋ง๋ค๊ธฐ
>๋ฌธ์์ด ๊ฐ
์ ํ ํ ์๋ ๊ฐ ์ ๋ ฅ- Key:
AutoRun
- Value:
%USERPROFILE%\alias.cmd
- Key:
E2-i. schema.json
์ ์ฅ์์น: ์ ๋งํ๋ฉด %USERPROFILE%\.oh-my-posh
ํด๋์ ์์นํด ๋๋๋ก
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"type": "session",
"style": "diamond",
"background": "#6272a4",
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
"template": "{{ .UserName }} "
}, {
"type": "path",
"style": "powerline",
"background": "#bd93f9",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"style": "folder"
},
"template": " {{ .Path }} "
}, {
"type": "git",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#ffffff",
"background": "#ffb86c",
"properties": {
"branch_icon": "",
"fetch_stash_count": true,
"fetch_status": false,
"fetch_upstream_icon": true
},
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) "
}, {
"type": "node",
"style": "powerline",
"background": "#8be9fd",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
}, {
"type": "time",
"style": "diamond",
"background": "#ff79c6",
"foreground": "#ffffff",
"properties": {
"time_format": "15:04"
},
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b0"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 2
}
E2-ii. Microsoft.PowerShell_profile.ps1
$profile
ํ์ผ ๋ด์ฉ
# Commands
Set-Alias sublime sublime_text
function alias()
{
notepad $profile
}
# ADB ๋ฐ ์๋๋ก์ด๋ ๊ด๋ จ
function scrcpyDefault()
{
scrcpy -m 1024 --always-on-top
}
function scrcpyRec()
{
scrcpy -m 1024 --always-on-top --show-touches
}
function killTestbed()
{
adb shell am force-stop kr.go.mobile.testbed.iff
}
# ๊ฐ๋ฐํ๊ฒฝ ๊ตฌ์ฑ
function openWspHomeAndroidWeb1()
{
code $env:WspHomeAndroidWeb1
}
function openWspHomeAndroidWeb2()
{
code $env:WspHomeAndroidWeb2
}
$env:PATH += ";$env:UserProfile\scoop\apps\oh-my-posh\current\bin"
$env:PATH += ";$env:UserProfile\scoop\shims"
oh-my-posh init pwsh --config "$env:UserProfile\.oh-my-posh\schema.json" | Invoke-Expression
Import-Module Terminal-Icons
fastfetch