@ -18,20 +18,17 @@ irm https://learncodethehardway.com/setup/base.ps1 -outfile base.ps1
powershell -executionpolicy bypass .\base.ps1
```
After this script runs you should be ready, so just pick the language to install and run it like
this:
```shell
irm https://learncodethehardway.com/setup/python.ps1 | iex
```
You can also save the script locally first and view it before running it:
After this script runs you should be ready, but close this PowerShell instance and start a new one
just in case. Then run this:
```shell
irm https://learncodethehardway.com/setup/python.ps1 -outfile python.ps1
powershell -executionpolicy bypass .\python.ps1
```
If you get an error that "Chocolatey is not installed" then you forgot to close your PowerShell and
start a new one. It's because the PATH needs to be reset because Windows is dumb.
You can also use `winget` and/or `choco` to install what you want manually. See the instructions
below for your language to learn how to do that, or get the script and just look at it. Usually the
only thing each language script does is run some `winget` commands.
@ -168,6 +165,27 @@ To install this yourself use:
winget install CrystalLang.Crystal
```
## The `bigtest.ps1` Script
There's a test script that you can run if you want to install all scripts from the git repo. You
use it like this:
```shell
irm https://learncodethehardway.com/setup/base.ps1 -outfile base.ps1
powershell -executionpolicy bypass .\base.ps1
```
Then close your PowerShell to ensure you get the `winget` and `choco` installs. Then run the
`bigtest.ps1` script and be sure to stay near your computer to keep entering your password:
```shell
irm https://learncodethehardway.com/setup/bigtest.ps1 -outfile bigtest.ps1
powershell -executionpolicy bypass .\bigtest.ps1
```
After that you'll have every language I've figured out. Be sure to email
help@learncodethehardway.com and tell me if it worked or not for you.
## Contributing Installers
If you have a language that needs this kind of installer then feel free to grab one of these and