[링크첨부] 누구나 할 수 있는 윈도우 환경에 개발 환경 구축하기

2022. 5. 26. 07:06·Learning-Log/Computer Science
728x90
320x100

멋진 개발환경을 구축해보자

 

윈도우 기반의 기기를 새로 구입한 뒤 초기 세팅 및 개발환경 구축하기에 관한 내용이다.

 

1. 윈도우 시작을 한 뒤, 사용자 이름을 바꾸고 싶다면 아래 포스팅을 바탕으로 마음에 드는 사용자 이름을 먼저 설정하자.

 

윈도우에서 사용자 폴더의 하위 폴더 이름 변경하기

0. 들어가기에 앞서 드리는 말 컴퓨터를 구매한지 얼마 되지 않은 상태라면 다음과 같은 방법으로 변경하는 것을 더 추천한다.(사실 추천이 아니라 강요에 가깝다. 이게 훨씬 간편하고 훨씬 안정

xpectation.tistory.com

 

2. 윈도우 업데이트 및 평소 자신이 쓰는 보안프로그램이 있다면 설치(기본으로 탑재된 Windows Defender로도 충분함)

 

 

3. Chrome 설치 (Edge써도 되긴 함)

https://www.google.com/chrome/

 

Chrome 웹브라우저

더욱 스마트해진 Google로 더 간편하고 안전하고 빠르게.

www.google.com

 

4. Chocolately 설치(취사선택, 윈도우에 개발관련 프로그램을 굳이 설치 하지 않을 것이라면 설치할 필요 없다.)

https://chocolatey.org/install#individual

 

Installing Chocolatey

Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Chocolatey integrates w/SCCM, Puppet, Chef, etc. Chocolatey is trusted by businesses to manage software deployments.

chocolatey.org

 

5. VSCode 등 텍스트 에디터 설치

https://code.visualstudio.com/

 

Visual Studio Code - Code Editing. Redefined

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications.  Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.

code.visualstudio.com

설치할때 기타옵션 모두 체크하는걸 추천

6. Git 과 Github 등 Git과 Git관리 프로그램 설치

https://gitforwindows.org/

 

Git for Windows

Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike. Git BASH Git for Windows provides a BA

gitforwindows.org

깃 설치시 추천 옵션

  • Use Visual Studio Code as Git's default editor 옵션 
    Vim의 경우 적혀 있듯, "vim is the default editor of git for windows only for historical reasons, and it is highly recommended to switch to a modern gui editor instead." 이다. 
  • Override the default branch name for new repositories 옵션
    master는 주인-노예 의 관계를 연상시키므로 개발업계에서 점점 안쓰는 추세이다. master 대신 main을 쓰는 버릇을 들이자.
  • 나머지는 잘 모르겠으면 기본 옵션을 선택하자.

 

설치가 끝난 뒤에는 Git Bash를 실행시켜 이름과 이메일을 설정해주자. 

아래 코드에서 [] 부분에 원하는 내용을 넣으면 된다.

마지막 명령어를 통해 제대로 설정되었는지 체크할 수 있다.

 

$git config --global user.name [name]
$git config --global user.email [email] 
$git config --list

 

https://desktop.github.com/

 

GitHub Desktop

Simple collaboration from your desktop

desktop.github.com

 

7. Ubuntu 등 WSL 설치

https://docs.microsoft.com/ko-kr/windows/wsl/install

 

WSL 설치

wsl --install 명령을 사용하여 Linux용 Windows 하위 시스템을 설치합니다. Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, Alpine 등 원하는 Linux 배포판에서 실행되는 Windows 머신에서 Bash 터미널을 사용할 수 있습니

docs.microsoft.com

 

8. 기본 터미널 Ubuntu로 설정

 

 

9. oh-my-zsh 등 Ubuntu 커스터마이징

아래 링크를 참조하여 zsh를 설치한다.

https://github.com/ohmyzsh/ohmyzsh/wiki

 

GitHub - ohmyzsh/ohmyzsh: 🙃 A delightful community-driven (with 2,000+ contributors) framework for managing your zsh config

🙃 A delightful community-driven (with 2,000+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, pyth...

github.com

sudo apt install zsh

 

아래 링크를 참조하여 oh-my-zsh 를 설치한다.

https://ohmyz.sh/

 

Oh My Zsh - a delightful & open source framework for Zsh

Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with several helpful functions, helpers, plugins, themes, and a few things that make you shout... OH MY ZSH!

ohmyz.sh

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

 

아래 링크를 참조하여 powerlevel10k를 설치한다.

https://github.com/romkatv/powerlevel10k

 

GitHub - romkatv/powerlevel10k: A Zsh theme

A Zsh theme. Contribute to romkatv/powerlevel10k development by creating an account on GitHub.

github.com

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
code ~/.zshrc

 

참고로 폰트는 여기서 받을 수 있다.

https://github.com/romkatv/powerlevel10k#meslo-nerd-font-patched-for-powerlevel10k

 

GitHub - romkatv/powerlevel10k: A Zsh theme

A Zsh theme. Contribute to romkatv/powerlevel10k development by creating an account on GitHub.

github.com

 

p10k configure : powerlevel10k 설정을 처음부터 다시 진행하는 명령어

 

10. Ubuntu에 Python, NodeJS 등 필요 모듈 설치

 

WSL환경을 기본 터미널로 쓸 것이기 때문에 윈도우에 Python이나 Node를 깔아봐야 어차피 새로 깔아야한다. 따라서 윈도우에는 굳이 깔지 않는 것을 추천한다. 괜히 컴퓨터만 지저분해지고 용량만 잡아먹는다.

728x90
반응형
저작자표시 비영리 변경금지 (새창열림)

'Learning-Log > Computer Science' 카테고리의 다른 글

[Linux/Ubuntu] 'E: Some index files failed to download. They have been ignored, or old ones used instead.' 해결 방법  (3) 2022.05.29
[Windows] BitLocker 무한 잠금 현상(보안 부팅 정책이 예기치 않게 변경되었으므로...) 해결 방법  (1) 2022.05.26
[Windows] BitLocker : '다른 URL을 시도해 보세요. 이 링크에 표시할 내용이 없습니다. 대신 원하는 내용을 검색해 보세요.' 해결 방법  (3) 2022.05.26
[Windows/WSL2] '가상 머신 플랫폼 Windows 기능을 사용하도록 설정하고 BIOS에서 가상화를 사용하도록 설정되어 있는지 확인하세요.' 해결방법  (2) 2022.05.25
윈도우에서 사용자 폴더의 하위 폴더 이름 변경하기  (1) 2022.05.25
'Learning-Log/Computer Science' 카테고리의 다른 글
  • [Linux/Ubuntu] 'E: Some index files failed to download. They have been ignored, or old ones used instead.' 해결 방법
  • [Windows] BitLocker 무한 잠금 현상(보안 부팅 정책이 예기치 않게 변경되었으므로...) 해결 방법
  • [Windows] BitLocker : '다른 URL을 시도해 보세요. 이 링크에 표시할 내용이 없습니다. 대신 원하는 내용을 검색해 보세요.' 해결 방법
  • [Windows/WSL2] '가상 머신 플랫폼 Windows 기능을 사용하도록 설정하고 BIOS에서 가상화를 사용하도록 설정되어 있는지 확인하세요.' 해결방법
Xpectation
Xpectation
理
    반응형
  • Xpectation
    자기실현적 기대
    Xpectation
  • 전체
    오늘
    어제
    • 전체보기 (214)
      • Thinking-Log (42)
        • 인간에 관한 생각 (22)
        • 사회현상에 관한 생각 (9)
        • 말씀에 관한 생각 (4)
        • 기타 잡념 (7)
      • Trading-Log (8)
        • 주식 잡념 (9)
      • Learning-Log (104)
        • Computer Science (70)
        • Economics (21)
        • Law (1)
        • ETC (12)
      • Review-Log (43)
        • 食思味 (13)
        • 聽思聰 (6)
        • 視思明 (12)
        • IT 제품, 전자기기 (7)
        • 게임 (0)
        • 기타 (5)
      • Creating-Log (5)
        • 주방 (0)
        • 서재 (5)
        • 기타 (0)
      • Photo-Log (3)
        • 사진 일기 (3)
      • 미분류 (0)
  • 블로그 메뉴

    • 홈
    • 방명록
    • 태그
  • 링크

    • 티스토리 홈
  • 공지사항

  • 인기 글

  • 태그

    딥러닝
    매매일지
    클래식음악
    수면유도
    ASMR
    주식
    경제학
    마인드위즈Pro
    오블완
    티스토리챌린지
  • 최근 댓글

  • 최근 글

  • 250x250
  • hELLO· Designed By정상우.v4.10.1
Xpectation
[링크첨부] 누구나 할 수 있는 윈도우 환경에 개발 환경 구축하기
상단으로

티스토리툴바