# Pico C/C++ Development Using Windows

**URL:** <https://forums.pimoroni.com/t/pico-c-c-development-using-windows/18775>\
**Category:** Support\
**Created:** [January 31, 2022, 10:37am UTC](https://forums.pimoroni.com/t/pico-c-c-development-using-windows/18775 "2022-01-31T10:37:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geoff138](https://avatars.discourse-cdn.com/v4/letter/g/65b543/32.png) [@Geoff138](https://forums.pimoroni.com/u/Geoff138)\
**Post date:** [January 31, 2022, 10:37am UTC](https://forums.pimoroni.com/t/pico-c-c-development-using-windows/18775/1 "2022-01-31T10:37:43Z")

</div>

Going through your tutorial the first thing I noted was the command sudo apt update should be followed by sudo apt upgrade to update the system.

but following that, I have encountered the following software installation problem  
When I enter the line:-  
git clone -b main [GitHub - pimoroni/pimoroni-pico: Libraries and examples to support Pimoroni Pico add-ons in C++ and MicroPython.](https://github.com/pimoroni/pimoroni-pico.git) --recursive  
I am asked for a user name and password?  
I entered name and password but git then says it needs an access token instead!  
However, the next step  
git clone -b main [GitHub - pimoroni/picosystem: PicoSystem libraries and examples.](https://github.com/pimoroni/picosystem.git)  
works!

Any suggestions?

---

<div class="post-metadata">

**Author:** ![hel](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/hel/32/6075_2.png) [@hel](https://forums.pimoroni.com/u/hel)\
**Post date:** [January 31, 2022, 12:15pm UTC](https://forums.pimoroni.com/t/pico-c-c-development-using-windows/18775/2 "2022-01-31T12:15:01Z")

</div>

Hi Geoff

Thanks for reading my tutorial :)

I skipped the upgrade step for simplicity as it can take a while and I didn’t find it necessary for getting Pico dev up and going. I guess I’m making the assumption that folks are working with a newly set up Linux install like I was - did you need to upgrade yours before it would work?

If Git asks you for a username and password it might be because you’ve got a typo in the URL - I can’t make out the exact command that you’re entering as the forum has added some unhelpful formatting to the URL. If you enclose the code in backticks (`) it should stop it from doing that, or you could post a screenshot/photo of the error?

H

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 31, 2022, 12:19pm UTC](https://forums.pimoroni.com/t/pico-c-c-development-using-windows/18775/3 "2022-01-31T12:19:24Z")

</div>

I’m thinking it was this command.

`git clone -b main https://github.com/pimoroni/pimoroni-pico.git --recursive`

---

<div class="post-metadata">

**Author:** ![hel](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/hel/32/6075_2.png) [@hel](https://forums.pimoroni.com/u/hel)\
**Post date:** [January 31, 2022, 12:24pm UTC](https://forums.pimoroni.com/t/pico-c-c-development-using-windows/18775/4 "2022-01-31T12:24:47Z")

</div>

Just tried it and

`git clone -b main https://github.com/pimoroni/pimoroni-pico.git --recursive `

seems to be working OK for me. It’s a public repo so no username/password should be required.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 31, 2022, 12:55pm UTC](https://forums.pimoroni.com/t/pico-c-c-development-using-windows/18775/5 "2022-01-31T12:55:34Z")

</div>

I didn’t try any of it, not into programing in C.  
As you mentioned making a typo will get you the password prompt, been there done that. It’s a head scratcher until you figure out your blunder.

---

<div class="post-metadata">

**Author:** ![Geoff138](https://avatars.discourse-cdn.com/v4/letter/g/65b543/32.png) [@Geoff138](https://forums.pimoroni.com/u/Geoff138)\
**Post date:** [January 31, 2022, 1:59pm UTC](https://forums.pimoroni.com/t/pico-c-c-development-using-windows/18775/6 "2022-01-31T13:59:22Z")

</div>

Here is the screenshot

![pim2](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/b/b6ef2976b2164b59a3e1929d123d7d6989061903.png)

Hope it displays correctly!

---

<div class="post-metadata">

**Author:** ![hel](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/hel/32/6075_2.png) [@hel](https://forums.pimoroni.com/u/hel)\
**Post date:** [January 31, 2022, 2:59pm UTC](https://forums.pimoroni.com/t/pico-c-c-development-using-windows/18775/7 "2022-01-31T14:59:27Z")

</div>

Try `pimoroni-pico` instead of `pimoromi-pico` :)

You can use Ctrl-C to copy the command from Windows and paste it into PuTTY by right clicking, if that’s easier than typing!

---

<div class="post-metadata">

**Author:** ![Geoff138](https://avatars.discourse-cdn.com/v4/letter/g/65b543/32.png) [@Geoff138](https://forums.pimoroni.com/u/Geoff138)\
**Post date:** [January 31, 2022, 3:15pm UTC](https://forums.pimoroni.com/t/pico-c-c-development-using-windows/18775/8 "2022-01-31T15:15:41Z")

</div>

Thank you .

New spectacles on order !!!
