창에 스쿠프를 설치하는 방법

Do you love open-source? Do you want to make your PowerShell really powerful? Consider installing scoop and make your life simple! 😄 Learn how can scoop help you to make your Visual Studio Code terminal colorful. This was my dream on windows machine to achieve. Please read my article till end and enjoy!



특종이 무엇입니까



Scoop은 Windows PowerShell 또는 CommandLine용 도구나 유틸리티 또는 플러그인을 설치하는 데 사용됩니다. 특종을 사용하여 Windows 시스템에 curl을 설치할 수 있습니다.



이렇게 화려한 내 PowerShell에 특종을 설치합니다. 그런 다음 내 Visual Studio Code 터미널이 이와 같이 다채롭게 보이도록 할 것입니다.



🦂 특종 설치


  • 관리 모드에서 PowerShell 7을 엽니다.
  • 달리다 iex
  • 그런 다음 명령에서 (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')를 입력하고 Enter 키를 누릅니다.
  • 또는 직접 실행할 수 있습니다. iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

  • 스쿠프 설치 확인


    scoop help를 실행하고 설치되었는지 확인합니다.



    Windows에서 Scoop을 사용하여 Curl 설치



    실행scoop install curl을 실행하면 Windows 시스템에 curl 명령줄이 설치됩니다. 재밌어요😄

    🥇PowerShell 색칠하기


  • 일반적으로 PowerShell 프로필을 엽니다. c:\users\<username>\My Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 에 있습니다. $profile을 실행하여 프로필이 어디에 있는지 알아보세요. 그렇지 않은 경우 새로 만드십시오.
  • 프로필 파일에 아래 스크립트를 추가합니다.

  • Invoke-Expression (oh-my-posh --init --shell pwsh --config "$(scoop prefix oh-my-posh)/themes/nu4a.omp.json")
    
    


    on-my-posh 설치


    scoop install https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/oh-my-posh.json를 실행하여 on-my-post를 설치합니다.



    이렇게 하면 몇 가지가 설치됩니다.
  • oh-my-posh.exe - $PATH에 추가된 Windows 실행 파일
  • oh-my-posh-wsl - WSL에서 사용하기 위해 $PATH에 추가된 Linux 실행 파일
  • themes - 최신 Oh my Posh 테마

  • Nerd 글꼴 설치



    Oh-My-Posh는 Nerd Font가 필요하므로 이를 설치해야 합니다.
  • Download Nerd Fonts
  • 글꼴을 다운로드한 후 설치합니다.
  • PowerShell을 열고 Nerd 글꼴을 선택합니다. MesloLGL NF 글꼴을 사용하고 있습니다.

  • PowerShell은 다채롭습니다



    PowerShell을 열고 색상과 Git 상태를 표시하는지 확인합니다.

    🛕 테마 변경



    oh-my-posh가 설치된 폴더로 이동합니다. 다음 테마 폴더로 이동하면 37개의 테마가 있음을 알 수 있습니다.

    모든 테마 시각화



    PowerShell 터미널에서 get-poshthemes를 실행하여 모두 확인합니다.

    PowerShell 테마 변경



    새 테마를 선택한 후 PowerShell 프로필을 열고 테마json 이름을 변경합니다. 나는 현재 themes\nu4a.omp.json를 가지고 있다. 나는 themes\cert로 전환할 것이다. 아래의 새 스크립트로

    Invoke-Expression (oh-my-posh --init --shell pwsh --config "$(scoop prefix oh-my-posh)/themes/cert.omp.json")👈
    
    


    지금 내 새 테마 보기

    완료 🎉 Windows 시스템에서 scoop의 성능과 PowerShell의 멋짐을 즐기세요.

    참조


  • https://scoop.sh/
  • https://ohmyposh.dev/docs/installation
  • http://rupeshtiwari.com/make-your-powershell-posh-colorful/



  • 제 글을 끝까지 읽어주셔서 감사합니다. 오늘 특별한 것을 배웠기를 바랍니다. 이 기사가 마음에 드셨다면 친구들과 공유해 주시고 저와 공유할 제안이나 생각이 있으시면 댓글 상자에 적어주세요.

    풀 스택 개발자 되기 💻



    나는 Fullstack Master에서 가르칩니다. 소프트웨어 개발자가 되고 새로운 소프트웨어 엔지니어 또는 수석 개발자/설계자로 캐리어를 성장시키려는 경우. 전체 스택 개발 교육 프로그램에 가입하는 것을 고려하십시오. 많은 코딩 실습을 통해 Angular, RxJS, JavaScript, 시스템 아키텍처 등을 배우게 됩니다. All-Access Monthly 멤버십 플랜이 있으며 모든 비디오 코스, 슬라이드, 소스 코드 다운로드 및 월간 화상 통화에 무제한으로 액세스할 수 있습니다.
  • 현재 및 미래의 Angular, node.js 및 관련 과정에 액세스하려면 All-Access Membership PRO plan을 구독하십시오.
  • PRO 플랜의 모든 것을 얻으려면 All-Access Membership ELITE plan에 가입하세요. 또한 Rupesh와의 월별 라이브 Q&A 화상 통화에 액세스할 수 있으며 의심/질문을 하고 더 많은 도움말, 팁 및 요령을 얻을 수 있습니다.

  • Your bright future is awaiting for you so visit today FullstackMaster and allow me to help you to board on your dream software company as a new Software Developer, Architect or Lead Engineer role.



    💖 나에게 👋라고 말해!
    루페시 티와리
    Fullstack Master의 설립자
    이메일: [email protected]
    웹사이트: www.rupeshtiwari.com | www.fullstackmaster.net

    좋은 웹페이지 즐겨찾기