Is there a way to install Install VS Code on Windows through Powershell / command prompt commands ? as in linux with "sudo apt install ..."
Thank you
Complementing #Mohammed El Sayed great answer that uses Choco, the now Microsoft official package manager WinGet can let you do this as well
winget install -e --id Microsoft.VisualStudioCode
Note -e matches exact string (instead of substring) and --id limits usage to ID of application. More on args here
For more info on customising the installation see this GitHub discussion.
You can use Choco
choco install vscode.install
Ref:
https://community.chocolatey.org/packages/vscode.install
Related
I have verified on my windows that I have Powershell - the latest version installed.
When I run the command from the Playwright website :
pwsh bin/Debug/netX/playwright.ps1 install
I get the following error : 'argument bin/Debug/netX/playwright.ps1' is not recognized as the name of a script file. and I have been unable to find a work around. *
*to add more the error
There is an existing GitHub issue regarding this problem. To summarize the solutions listed there, here are a few things you can try:
Install the PowerShell tool:
dotnet tool install --global PowerShell
Or, Update the PowerShell tool:
dotnet tool update --global PowerShell
Or, Install PowerShell Core from the Microsoft website
Then, you can try to install playwright CLI and the browsers.
dotnet tool install --global Microsoft.Playwright.CLI
playwright install
If none if these solves your problem, kindly share in the comments.
I have C++ project with its target platform version type as 10.0.15063.0 and target platform as Windows 10.
I tried to create a azure pipeline that builds and publishes the artifacts, but I am facing issue to install windows sdk of specific version using choco(i.e 10.0.15063.x).
command tried :
choco install windows-sdk-10.0 --version=10.0.15063
I am getting error saying the package not found in the sources listed. Is there any way to fix the issue.
The version 10.0.15063.0 is not in the choco package list. As an alternative, you can download the installation from link, and install it via command.
Download bash command:
curl -LO "https://download.microsoft.com/download/E/1/B/E1B0E6C0-2FA2-4A1B-B322-714A5586BE63/windowssdk/winsdksetup.exe"
chmod 777 winsdksetup.exe # add permission for execution
Install in powershell silently:
Start-Process winsdksetup.exe -ArgumentList "/q" -Wait
Verify the version on my local machine:
However, the version number is strange, it shows 10.1.15063 actually in control panel.
So I can install it with choco command instead:
choco install windows-sdk-10.1 --version=10.1.15063.468 -y
Please check the version in regedit and control panel.
Doesn't look like that version is available. You can confirm this by searching for the package and listing all versions using choco list or choco search (search and list are synonyms for choco.exe):
choco list -a windows-sdk-10.0
Today, only one version is available: 10.0.26624. You can try to get the attention of the package maintainer on the package listing via the comments or Contact Maintainers link in the sidebar to update it or you can build your own and host on an internal feed for your use case.
As the title reads, I'm looking for a way to install Meteor.js without Chocolatey package manager. Any way I can do that? I should also mention that I'm running Windows.
There appears to be an installer available at https://install.meteor.com/windows. I was able to see this in the installation script:
if [ "$UNAME" ">" "MINGW" -a "$UNAME" "<" "MINGX" ] ; then
echo "To install Meteor on Windows, download the installer from:"
echo "https://install.meteor.com/windows"
exit 1
fi
There is a new native NPM-based method to install Meteor without Chocolatey. See the guide: https://github.com/meteor/meteor/blob/devel/npm-packages/meteor-installer/README.md
I noticed that Chocolatey requires the installation of .NET binaries. I think that there are a lot of developers who love to avoid .NET for a variety of reasons, and thus would avoid Chocolatey, too.
If you are using Windows 10, installing the Linux subsystem is a great solution. Then you can install meteor from a linux prompt with:
curl https://install.meteor.com/ | sh
A set of instructions for installing the linux subsystem on Win 10 are here.
I updated maka-cli (www.maka-cli.com) to include an installer for windows 10 (also works on Linux and Mac):
npm install -g maka-cli
maka install meteor
I recently ran the following command to install the Amazon Elastic Beanstalk Command Line Interface (EB CLI). I would now like to remove it from my Windows 10 machine.
C:\Users\Cale>pip install --upgrade --user awsebcli
What is the best command to run to ensure that its fully removed from my machine?
I was able to uninstall using the following command:
C:\Users\Cale>pip uninstall awsebcli
I was uncertain how to do the uninstall since I specified --user in the original install command. This stackoverflow article helped me understand that the --user option would not matter during the uninstall process.
How to uninstall a package installed with pip install --user
For me, the awsebcli is not present in the pip list command that references the $PATH. I get this error:
Skipping awsebcli as it is not installed.
Apparently, it's on the pip executable(s) in this location (Windows, PowerShell format):
$env:userprofile\.ebcli-virtual-env\Scripts\
The uninstall command worked properly using one of those executables.
After that, it it seems that deleting the .ebcli-virtual-env will remove it fully from the machine: How do I remove/delete a virtualenv? (disclaimer: I'm not a pythonista :) )
I'm something of a Cygwin newbie, so that might be the problem, but I'm trying to install a package using apt-get and it's telling me there's no such command. I installed it on Windows 7.
The best I got from searching other questions here and across the net was that you need to install something specific (or run the setup file to update) when initially installing, but it's not clear to me what I need to install or run or whatever.
How do I install or update my cygwin to be able to use apt-get or, alternatively, how would I install packages with the basic, default installation of Cygwin that I already have?
Thank you.
You can use this : apt-cyg
It works just like apt-get in terms of command line arguments, but you will be using apt-cyg instead.
Refer https://github.com/transcode-open/apt-cyg It did helped me.
To install apt-cyg package.
Cygwin's official installer is setup.exe. This is the "proper" way to install Cygwin packages. There's a project called cyg-apt but it's not officially part of Cygwin.