Thursday, May 9, 2019

Winows: Install Chocolaty on win 10


Choco is a command line software installation tool on windows like yum on linux.

Installing Chocolatey

Here is the installation document,
https://chocolatey.org/docs/installation

Install with cmd.exe
Run the following command:   (copy command text)

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -Inp

click on copy command
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"


Open your cmd prompt as a administrator.
- search for cmd and right click and run as administrator
- Right click and click on paste, it will take a while to install.

Choco is successfully installed

2. Lets Install some software. Lets try VLC (video player) using choco. (You can google for other software, if you need more info)
- At te prompt just type choco install vlc
  > choco install vlc
 > choco uninstall vlc
or
You can install using powershell
- Open your powershell as admin
- ,just type choco install vlc

This will install your software automatically

Installing other soft wares on your windows machine
> choco git install -y
> choco putty install -y

when you install git, git-bash is installed by default.
- using git-bash, you can run some basic linux commands.
- You can ssh to remote host using git-bash



No comments:

Post a Comment